summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-03 09:57:00 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-03 01:45:32 +0100
commit71af2ed5eeea639339e3a1497a0196bab7de4b57 (patch)
treeae7dde3226a6b050bc1df67513f7231137f87902
parentsched/headers: Remove <linux/sched.h> from <linux/sched/cpufreq.h> (diff)
downloadlinux-71af2ed5eeea639339e3a1497a0196bab7de4b57.tar.xz
linux-71af2ed5eeea639339e3a1497a0196bab7de4b57.zip
kasan, sched/headers: Remove <linux/sched.h> from <linux/kasan.h>
<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>
-rw-r--r--include/linux/kasan.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kasan.h b/include/linux/kasan.h
index 7793036eac80..ceb3fe78a0d3 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;