diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-20 13:27:49 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-21 20:29:28 +0100 |
commit | 58e9c47fa0dd76693b2c85c010c7430a4de77c6d (patch) | |
tree | 8b315bd55179023cc22ec50b8933a3d881b0376a /arch/arm/include/asm/tlb.h | |
parent | ARM: tlb: delay page freeing for SMP and ARMv7 CPUs (diff) | |
download | linux-58e9c47fa0dd76693b2c85c010c7430a4de77c6d.tar.xz linux-58e9c47fa0dd76693b2c85c010c7430a4de77c6d.zip |
ARM: tlb: move noMMU tlb_flush() to asm/tlb.h
There's no need to noMMU to put tlb_flush() in asm/tlbflush.h - it's
part of the tlb shootdown interface. Move it to asm/tlb.h instead, as
per x86.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/tlb.h')
-rw-r--r-- | arch/arm/include/asm/tlb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/tlb.h b/arch/arm/include/asm/tlb.h index e7690887b958..82dfe5d0c41e 100644 --- a/arch/arm/include/asm/tlb.h +++ b/arch/arm/include/asm/tlb.h @@ -22,6 +22,9 @@ #ifndef CONFIG_MMU #include <linux/pagemap.h> + +#define tlb_flush(tlb) ((void) tlb) + #include <asm-generic/tlb.h> #else /* !CONFIG_MMU */ |