Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arch/sh/include/asm/tlb.h: remove duplicate include

'asm-generic/tlb.h' included in 'asm/tlb.h' is duplicated.

Link: https://lkml.kernel.org/r/20210304132020.196811-1-zhang.yunkai@zte.com.cn
Signed-off-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
Cc: Yoshinori Sato <ysato@users.osdn.me>
Cc: Rich Felker <dalias@libc.org>
Cc: Zhang Yunkai <zhang.yunkai@zte.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Zhang Yunkai and committed by
Linus Torvalds
91a8528e 21917bde

+2 -8
+2 -8
arch/sh/include/asm/tlb.h
··· 4 4 5 5 #ifndef __ASSEMBLY__ 6 6 #include <linux/pagemap.h> 7 + #include <asm-generic/tlb.h> 7 8 8 9 #ifdef CONFIG_MMU 9 10 #include <linux/swap.h> 10 - 11 - #include <asm-generic/tlb.h> 12 11 13 12 #if defined(CONFIG_CPU_SH4) 14 13 extern void tlb_wire_entry(struct vm_area_struct *, unsigned long, pte_t); ··· 23 24 { 24 25 BUG(); 25 26 } 26 - #endif 27 - 28 - #else /* CONFIG_MMU */ 29 - 30 - #include <asm-generic/tlb.h> 31 - 27 + #endif /* CONFIG_CPU_SH4 */ 32 28 #endif /* CONFIG_MMU */ 33 29 #endif /* __ASSEMBLY__ */ 34 30 #endif /* __ASM_SH_TLB_H */