aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2021-10-22 07:42:48 +0200
committerIngo Molnar <mingo@kernel.org>2022-03-15 12:57:33 +0100
commitb3fe456918b4602bed86bb90758c3688113ea3c8 (patch)
treef6b95a8f1d36d65a2d0e6641344bd4bb9efcbbeb /arch
parentaf476761da3736a4421462536efb0b67040de895 (diff)
downloadtip-b3fe456918b4602bed86bb90758c3688113ea3c8.tar.gz
headers/deps: sparc/mm: Remove <linux/sched.h> inclusion from the middle of <asm/pgtable_64.h>
This low level header doesn't really need the full <linux/sched.h> at this stage, a pre-declaration of 'struct mm_struct' does the trick. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/include/asm/pgtable_64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/pgtable_64.h b/arch/sparc/include/asm/pgtable_64.h
index 1e89b3eb34d8d9..2c3e92111067e8 100644
--- a/arch/sparc/include/asm/pgtable_64.h
+++ b/arch/sparc/include/asm/pgtable_64.h
@@ -59,7 +59,7 @@
#ifndef __ASSEMBLY__
-#include <linux/sched.h>
+struct mm_struct;
bool kern_addr_valid(unsigned long addr);