summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlof Johansson2017-11-30 02:55:20 +0100
committerPalmer Dabbelt2017-11-30 19:34:47 +0100
commit741fc3ff3a49509a7092d6d9eb51da6bd7577278 (patch)
treea729230ff9252f69660800f9feb6cfa5028b2c65
parentRISC-V: Use define for get_cycles like other architectures (diff)
downloadkernel-qcow2-linux-741fc3ff3a49509a7092d6d9eb51da6bd7577278.tar.gz
kernel-qcow2-linux-741fc3ff3a49509a7092d6d9eb51da6bd7577278.tar.xz
kernel-qcow2-linux-741fc3ff3a49509a7092d6d9eb51da6bd7577278.zip
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>
-rw-r--r--arch/riscv/include/asm/mmu_context.h1
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 @@
#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>