aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2017-02-03 08:57:00 +0000
committerIngo Molnar <[email protected]>2017-03-02 07:42:25 +0000
commitaf8601ad420f6afa6445c927ad9f36d9700d96d6 (patch)
treeb33b49e2aec61c0c3fc666c84d39ee4547ddf42c /fs/proc/array.c
parentmm/vmacache, sched/headers: Introduce 'struct vmacache' and move it from <lin... (diff)
downloadkernel-af8601ad420f6afa6445c927ad9f36d9700d96d6.tar.gz
kernel-af8601ad420f6afa6445c927ad9f36d9700d96d6.zip
kasan, sched/headers: Uninline kasan_enable/disable_current()
<linux/kasan.h> is a low level header that is included early in affected kernel headers. But it includes <linux/sched.h> which complicates the cleanup of sched.h dependencies. But kasan.h has almost no need for sched.h: its only use of scheduler functionality is in two inline functions which are not used very frequently - so uninline kasan_enable_current() and kasan_disable_current(). Also add a <linux/sched.h> dependency to a .c file that depended on kasan.h including it. This paves the way to remove the <linux/sched.h> include from kasan.h. Acked-by: Linus Torvalds <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions