Ingo Molnar af8601ad42 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 <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-03-02 08:42:25 +01:00
..
2017-02-22 16:41:30 -08:00
2017-02-27 18:43:47 -08:00
2016-12-12 18:55:08 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2016-11-02 10:24:03 -06:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:46 -08:00
2017-02-24 17:46:54 -08:00