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)
commit79a4e91d1bb2a411a4ce2baa93680fa707567003
tree9e53d6b5f4b3b61651e3988575a5e99c7bcd6290
parent7cbc2b421ee33bdc17aede8bc5ff0dee72e78147
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