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>

+4 -6
+3
arch/arm/include/asm/tlb.h
··· 22 #ifndef CONFIG_MMU 23 24 #include <linux/pagemap.h> 25 #include <asm-generic/tlb.h> 26 27 #else /* !CONFIG_MMU */
··· 22 #ifndef CONFIG_MMU 23 24 #include <linux/pagemap.h> 25 + 26 + #define tlb_flush(tlb) ((void) tlb) 27 + 28 #include <asm-generic/tlb.h> 29 30 #else /* !CONFIG_MMU */
+1 -6
arch/arm/include/asm/tlbflush.h
··· 10 #ifndef _ASMARM_TLBFLUSH_H 11 #define _ASMARM_TLBFLUSH_H 12 13 - 14 - #ifndef CONFIG_MMU 15 - 16 - #define tlb_flush(tlb) ((void) tlb) 17 - 18 - #else /* CONFIG_MMU */ 19 20 #include <asm/glue.h> 21
··· 10 #ifndef _ASMARM_TLBFLUSH_H 11 #define _ASMARM_TLBFLUSH_H 12 13 + #ifdef CONFIG_MMU 14 15 #include <asm/glue.h> 16