Commit 71af2ed5 authored by Ingo Molnar's avatar Ingo Molnar

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: default avatarLinus 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: default avatarIngo Molnar <mingo@kernel.org>
parent ed53742d
#ifndef _LINUX_KASAN_H #ifndef _LINUX_KASAN_H
#define _LINUX_KASAN_H #define _LINUX_KASAN_H
#include <linux/sched.h>
#include <linux/types.h> #include <linux/types.h>
struct kmem_cache; struct kmem_cache;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment