summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-09-13 20:52:18 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2017-09-13 20:52:18 +0200
commit9888e4d4831d72a64c4378878ada1a4d7539a790 (patch)
tree6d30f4989437f7189dc01924fa2f7d275b4cee04 /arch
parentMerge tag 'modules-for-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
parentopenrisc: add forward declaration for struct vm_area_struct (diff)
downloadlinux-9888e4d4831d72a64c4378878ada1a4d7539a790.tar.xz
linux-9888e4d4831d72a64c4378878ada1a4d7539a790.zip
Merge tag 'openrisc-for-linus' of git://github.com/openrisc/linux
Pull OpenRISC fixlet from Stafford Horne: "Fix warning for upcoming work to remove linux/vmalloc.h from asm-generic/io.h" * tag 'openrisc-for-linus' of git://github.com/openrisc/linux: openrisc: add forward declaration for struct vm_area_struct
Diffstat (limited to 'arch')
-rw-r--r--arch/openrisc/include/asm/pgtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/openrisc/include/asm/pgtable.h b/arch/openrisc/include/asm/pgtable.h
index ff97374ca069..71a6f08de8f2 100644
--- a/arch/openrisc/include/asm/pgtable.h
+++ b/arch/openrisc/include/asm/pgtable.h
@@ -414,6 +414,8 @@ static inline void pmd_set(pmd_t *pmdp, pte_t *ptep)
extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; /* defined in head.S */
+struct vm_area_struct;
+
/*
* or32 doesn't have any external MMU info: the kernel page
* tables contain all the necessary information.