diff mbox

sh: asm/tlb.h needs linux/swap.h

Message ID 1306723858-745-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com (mailing list archive)
State Accepted
Headers show

Commit Message

Nobuhiro Iwamatsu May 30, 2011, 2:50 a.m. UTC
By commit 1e56a56410bb64bce62d44563e35a143fc2d515f, mmu_gather of sh
was reworked. But this forgot include linux/swap.h in asm/tlb.h.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
CC: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
 arch/sh/include/asm/tlb.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/arch/sh/include/asm/tlb.h b/arch/sh/include/asm/tlb.h
index 6c308d8..ec88bfc 100644
--- a/arch/sh/include/asm/tlb.h
+++ b/arch/sh/include/asm/tlb.h
@@ -9,6 +9,7 @@ 
 #include <linux/pagemap.h>
 
 #ifdef CONFIG_MMU
+#include <linux/swap.h>
 #include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
 #include <asm/mmu_context.h>