[PATCH 15/35] kasan, sched/headers: Remove <linux/sched.h> from <linux/kasan.h>

From: Ingo Molnar
Date: Wed Feb 08 2017 - 14:12:32 EST


<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.

Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Mike Galbraith <efault@xxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
include/linux/kasan.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/kasan.h b/include/linux/kasan.h
index 96ef4c33148d..42ee86cfbfc8 100644
--- a/include/linux/kasan.h
+++ b/include/linux/kasan.h
@@ -1,7 +1,6 @@
#ifndef _LINUX_KASAN_H
#define _LINUX_KASAN_H

-#include <linux/sched.h>
#include <linux/types.h>

struct kmem_cache;
--
2.7.4