[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171130015521.1289-10-olof@lixom.net>
Date: Wed, 29 Nov 2017 17:55:20 -0800
From: Olof Johansson <olof@...om.net>
To: Palmer Dabbelt <palmer@...ive.com>
Cc: Albert Ou <albert@...ive.com>, patches@...ups.riscv.org,
linux-kernel@...r.kernel.org, Olof Johansson <olof@...om.net>
Subject: [PATCH 09/10] 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@...om.net>
---
arch/riscv/include/asm/mmu_context.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/include/asm/mmu_context.h b/arch/riscv/include/asm/mmu_context.h
index de1fc16..1cd5172 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>
--
2.8.6
Powered by blists - more mailing lists