]> git.baikalelectronics.ru Git - kernel.git/commitdiff
RISC-V: Add missing include
authorOlof Johansson <olof@lixom.net>
Thu, 30 Nov 2017 01:55:20 +0000 (17:55 -0800)
committerPalmer Dabbelt <palmer@sifive.com>
Thu, 30 Nov 2017 18:34:47 +0000 (10:34 -0800)
Fixes:

include/asm-generic/mm_hooks.h:20:11: warning: 'struct vm_area_struct' declared inside parameter list will not be visible outside of this definition or declaration
include/asm-generic/mm_hooks.h:19:38: warning: 'struct mm_struct' declared inside parameter list will not be visible outside of this definition or declaration

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/include/asm/mmu_context.h

index de1fc1631fc4367b439ce96ff21e2137ee8aa797..1cd5172882c2ac8883ace5a394821fafc4ed1a98 100644 (file)
@@ -14,6 +14,7 @@
 #ifndef _ASM_RISCV_MMU_CONTEXT_H
 #define _ASM_RISCV_MMU_CONTEXT_H
 
+#include <linux/mm_types.h>
 #include <asm-generic/mm_hooks.h>
 
 #include <linux/mm.h>