OSDN Git Service

powerpc/8xx: add missing header in 8xx_mmu.c
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 18 Oct 2018 05:22:27 +0000 (05:22 +0000)
committerScott Wood <oss@buserror.net>
Tue, 23 Oct 2018 00:11:58 +0000 (19:11 -0500)
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>
arch/powerpc/mm/8xx_mmu.c

index 36484a2..64ee759 100644 (file)
@@ -13,6 +13,7 @@
  */
 
 #include <linux/memblock.h>
+#include <linux/mmu_context.h>
 #include <asm/fixmap.h>
 #include <asm/code-patching.h>