summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-10-18 07:22:27 +0200
committerScott Wood <oss@buserror.net>2018-10-23 02:11:58 +0200
commitb6ae3550c8e2ca8f7ce1b7f04585dc12a0eb5cbd (patch)
tree340b65beee76a8eb0133f26d7756503ed28852b1 /arch
parentpowerpc/8xx: Add DT node for using the SEC engine of the MPC885 (diff)
downloadlinux-b6ae3550c8e2ca8f7ce1b7f04585dc12a0eb5cbd.tar.xz
linux-b6ae3550c8e2ca8f7ce1b7f04585dc12a0eb5cbd.zip
powerpc/8xx: add missing header in 8xx_mmu.c
arch/powerpc/mm/8xx_mmu.c:174:6: error: no previous prototype for ‘set_context’ [-Werror=missing-prototypes] void set_context(unsigned long id, pgd_t *pgd) Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/mm/8xx_mmu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/mm/8xx_mmu.c b/arch/powerpc/mm/8xx_mmu.c
index 36484a2ef915..64ee7597380e 100644
--- a/arch/powerpc/mm/8xx_mmu.c
+++ b/arch/powerpc/mm/8xx_mmu.c
@@ -13,6 +13,7 @@
*/
#include <linux/memblock.h>
+#include <linux/mmu_context.h>
#include <asm/fixmap.h>
#include <asm/code-patching.h>