[PATCH] arch/powerpc/include: remove duplicate include in pgtable.h
menglong8.dong at gmail.com
menglong8.dong at gmail.com
Thu Mar 4 14:28:00 AEDT 2021
From: Zhang Yunkai <zhang.yunkai at zte.com.cn>
'asm/tlbflush.h' included in 'arch/powerpc/include/asm/pgtable.h'
is duplicated.It is also included in the 11th line.
Signed-off-by: Zhang Yunkai <zhang.yunkai at zte.com.cn>
---
arch/powerpc/include/asm/pgtable.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/powerpc/include/asm/pgtable.h b/arch/powerpc/include/asm/pgtable.h
index 4eed82172e33..c6a676714f04 100644
--- a/arch/powerpc/include/asm/pgtable.h
+++ b/arch/powerpc/include/asm/pgtable.h
@@ -41,8 +41,6 @@ struct mm_struct;
#ifndef __ASSEMBLY__
-#include <asm/tlbflush.h>
-
/* Keep these as a macros to avoid include dependency mess */
#define pte_page(x) pfn_to_page(pte_pfn(x))
#define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot))
--
2.25.1
More information about the Linuxppc-dev
mailing list