]> git.baikalelectronics.ru Git - kernel.git/commit
device.h: Add __cold to dev_<level> logging functions
authorJoe Perches <joe@perches.com>
Sun, 3 Feb 2019 03:50:17 +0000 (19:50 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 3 Feb 2019 09:15:56 +0000 (10:15 +0100)
commita723d4dcdb4d3e7356dbf00da3635d15073f7071
tree9e53d6b5f4b3b61651e3988575a5e99c7bcd6290
parenta17c13154038c82f3429ec4c57048b5ca3fd787e
device.h: Add __cold to dev_<level> logging functions

Add __cold to the dev_<level> logging functions similar to
the use of __cold in the generic printk function.

Using __cold moves all the dev_<level> logging functions
out-of-line possibly improving code locality and runtime
performance.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device.h