Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87c52578 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[ARM] Remove linux/sched.h from asm/cacheflush.h and asm/uaccess.h



... and fix those drivers that were incorrectly relying upon
that include.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent f40b121d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@
#ifndef _ASMARM_CACHEFLUSH_H
#define _ASMARM_CACHEFLUSH_H

#include <linux/sched.h>
#include <linux/mm.h>

#include <asm/glue.h>
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
#define __ASM_ARM_MMU_CONTEXT_H

#include <linux/compiler.h>
#include <linux/sched.h>
#include <asm/cacheflush.h>
#include <asm/cachetype.h>
#include <asm/proc-fns.h>
+2 −1
Original line number Diff line number Diff line
@@ -11,7 +11,8 @@
/*
 * User space memory access functions
 */
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/thread_info.h>
#include <asm/errno.h>
#include <asm/memory.h>
#include <asm/domain.h>
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
 * published by the Free Software Foundation.
 */
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/cryptohash.h>
#include <linux/delay.h>
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
#include <linux/string.h>
#include <linux/proc_fs.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/uaccess.h>

#include <asm/unaligned.h>
Loading