aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2017-11-17 23:27:32 +0000
committerLinus Torvalds <[email protected]>2017-11-18 00:10:01 +0000
commit8c703d660450c4df72ff24f79a335dc7973a9dc8 (patch)
treee7eecbd614bbd2548d82ba66b5b28cb7e7840bf6 /lib/dynamic_debug.c
parentinclude/linux/compiler-clang.h: handle randomizable anonymous structs (diff)
downloadkernel-8c703d660450c4df72ff24f79a335dc7973a9dc8.tar.gz
kernel-8c703d660450c4df72ff24f79a335dc7973a9dc8.zip
kernel/umh.c: optimize 'proc_cap_handler()'
If 'write' is 0, we can avoid a call to spin_lock/spin_unlock. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Christophe JAILLET <[email protected]> Acked-by: Luis R. Rodriguez <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions