]> git.baikalelectronics.ru Git - kernel.git/commitdiff
kasan, sched/headers: Remove <linux/sched.h> from <linux/kasan.h>
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 08:57:00 +0000 (09:57 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:45:32 +0000 (01:45 +0100)
<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.

Remove it.

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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/kasan.h

index 7793036eac806295a452dba7fb1372ff27367d04..ceb3fe78a0d39d6b1268c0b92485b8ee110e0b4a 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef _LINUX_KASAN_H
 #define _LINUX_KASAN_H
 
-#include <linux/sched.h>
 #include <linux/types.h>
 
 struct kmem_cache;