summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-10-18 05:22:27 +0000
committerScott Wood <oss@buserror.net>2018-10-22 19:11:58 -0500
commitb6ae3550c8e2ca8f7ce1b7f04585dc12a0eb5cbd (patch)
tree340b65beee76a8eb0133f26d7756503ed28852b1 /arch
parente738c5f15562635c02a03365cb62cad35051babe (diff)
downloadlinux-b6ae3550c8e2ca8f7ce1b7f04585dc12a0eb5cbd.tar.gz
linux-b6ae3550c8e2ca8f7ce1b7f04585dc12a0eb5cbd.tar.bz2
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>