Repository navigation
Commit ce3fdb6
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>1 parent ff7653f commit ce3fdb6
1 file changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4663 | 4663 | | |
4664 | 4664 | | |
4665 | 4665 | | |
4666 | | - | |
| 4666 | + | |
4667 | 4667 | | |
4668 | 4668 | | |
4669 | | - | |
| 4669 | + | |
4670 | 4670 | | |
4671 | | - | |
| 4671 | + | |
4672 | 4672 | | |
4673 | | - | |
| 4673 | + | |
4674 | 4674 | | |
4675 | | - | |
| 4675 | + | |
4676 | 4676 | | |
4677 | | - | |
| 4677 | + | |
4678 | 4678 | | |
4679 | | - | |
| 4679 | + | |
4680 | 4680 | | |
4681 | | - | |
| 4681 | + | |
4682 | 4682 | | |
4683 | 4683 | | |
4684 | 4684 | | |
| |||
0 commit comments