Commit 91a8528e authored by Zhang Yunkai's avatar Zhang Yunkai Committed by Linus Torvalds

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.cnSigned-off-by: default avatarZhang 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 21917bde
...@@ -4,12 +4,11 @@ ...@@ -4,12 +4,11 @@
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <asm-generic/tlb.h>
#ifdef CONFIG_MMU #ifdef CONFIG_MMU
#include <linux/swap.h> #include <linux/swap.h>
#include <asm-generic/tlb.h>
#if defined(CONFIG_CPU_SH4) #if defined(CONFIG_CPU_SH4)
extern void tlb_wire_entry(struct vm_area_struct *, unsigned long, pte_t); extern void tlb_wire_entry(struct vm_area_struct *, unsigned long, pte_t);
extern void tlb_unwire_entry(void); extern void tlb_unwire_entry(void);
...@@ -24,12 +23,7 @@ static inline void tlb_unwire_entry(void) ...@@ -24,12 +23,7 @@ static inline void tlb_unwire_entry(void)
{ {
BUG(); BUG();
} }
#endif #endif /* CONFIG_CPU_SH4 */
#else /* CONFIG_MMU */
#include <asm-generic/tlb.h>
#endif /* CONFIG_MMU */ #endif /* CONFIG_MMU */
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* __ASM_SH_TLB_H */ #endif /* __ASM_SH_TLB_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment