netdevice.h: Add __cold to netdev_<level> logging functions
authorJoe Perches <joe@perches.com>
Sun, 3 Feb 2019 03:47:25 +0000 (19:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2019 04:27:39 +0000 (20:27 -0800)
commitce3fdb697f684b0c018cda8af91f953b7936a9c2
tree838ae3d898ab991741753cf4b10292363a506312
parentff7653f94b523d5d87f2f00cbf21a9d9f6de889c
netdevice.h: Add __cold to netdev_<level> logging functions

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

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

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h