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-24 17:46:57 -08:00
2016-10-11 15:06:30 -07:00
2017-02-24 17:46:57 -08:00
2017-01-24 12:23:35 -05:00
2017-01-24 12:23:35 -05:00
2017-02-24 17:46:57 -08:00
2017-02-13 21:44:10 -05:00
2016-12-06 10:17:03 +02:00
2017-02-24 17:46:57 -08:00
2017-02-24 17:46:56 -08:00
2016-08-02 17:31:41 -04:00
2017-02-27 18:43:47 -08:00