[PATCH] arch/powerpc/include: remove duplicate include in pgtable.h

From: menglong8 . dong
Date: Wed Mar 03 2021 - 22:29:49 EST


From: Zhang Yunkai <zhang.yunkai@xxxxxxxxxx>

'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@xxxxxxxxxx>
---
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