diff options
| author | Olof Johansson <olof@lixom.net> | 2017-11-29 20:55:20 -0500 |
|---|---|---|
| committer | Palmer Dabbelt <palmer@sifive.com> | 2017-11-30 13:34:47 -0500 |
| commit | 741fc3ff3a49509a7092d6d9eb51da6bd7577278 (patch) | |
| tree | a729230ff9252f69660800f9feb6cfa5028b2c65 /arch | |
| parent | 4a41d5dbb0bbd0c3faffb2ccd8ef1a7aeb12f978 (diff) | |
RISC-V: Add missing include
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>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/riscv/include/asm/mmu_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/mmu_context.h b/arch/riscv/include/asm/mmu_context.h index de1fc1631fc4..1cd5172882c2 100644 --- a/arch/riscv/include/asm/mmu_context.h +++ b/arch/riscv/include/asm/mmu_context.h | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | #ifndef _ASM_RISCV_MMU_CONTEXT_H | 14 | #ifndef _ASM_RISCV_MMU_CONTEXT_H |
| 15 | #define _ASM_RISCV_MMU_CONTEXT_H | 15 | #define _ASM_RISCV_MMU_CONTEXT_H |
| 16 | 16 | ||
| 17 | #include <linux/mm_types.h> | ||
| 17 | #include <asm-generic/mm_hooks.h> | 18 | #include <asm-generic/mm_hooks.h> |
| 18 | 19 | ||
| 19 | #include <linux/mm.h> | 20 | #include <linux/mm.h> |
