Merge branch 'do_once_lite'
Tanner Love says:
====================
net: update netdev_rx_csum_fault() print dump only once
First patch implements DO_ONCE_LITE to abstract uses of the ".data.once"
trick. It is defined in its own, new header file -- rather than
alongside the existing DO_ONCE in include/linux/once.h -- because
include/linux/once.h includes include/linux/jump_label.h, and this
causes the build to break for some architectures if
include/linux/once.h is included in include/linux/printk.h or
include/asm-generic/bug.h.
Second patch uses DO_ONCE_LITE in netdev_rx_csum_fault to print dump
only once.
====================
Signed-off-by:
David S. Miller <davem@davemloft.net>
No related branches found
No related tags found
Showing
- fs/xfs/xfs_message.h 3 additions, 10 deletionsfs/xfs/xfs_message.h
- include/asm-generic/bug.h 7 additions, 30 deletionsinclude/asm-generic/bug.h
- include/linux/once_lite.h 24 additions, 0 deletionsinclude/linux/once_lite.h
- include/linux/printk.h 3 additions, 20 deletionsinclude/linux/printk.h
- kernel/trace/trace.h 3 additions, 10 deletionskernel/trace/trace.h
- net/core/dev.c 9 additions, 5 deletionsnet/core/dev.c
Loading
Please register or sign in to comment