aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/pgtable.h
diff options
context:
space:
mode:
authorZhang Yunkai <zhang.yunkai@zte.com.cn>2021-03-03 20:49:43 -0800
committerMichael Ellerman <mpe@ellerman.id.au>2021-03-24 14:09:30 +1100
commit1a0e4550fb12d51cd76e2b9439f45977473b022f (patch)
tree38fb0aeab66eb574b3155c755610d52ee5badaeb /arch/powerpc/include/asm/pgtable.h
parentpowerpc/prom: Mark identical_pvr_fixup as __init (diff)
downloadlinux-dev-1a0e4550fb12d51cd76e2b9439f45977473b022f.tar.xz
linux-dev-1a0e4550fb12d51cd76e2b9439f45977473b022f.zip
powerpc: Remove duplicate includes
asm/tm.h included in traps.c is duplicated. It is also included on the 62nd line. asm/udbg.h included in setup-common.c is duplicated. It is also included on the 61st line. asm/bug.h included in arch/powerpc/include/asm/book3s/64/mmu-hash.h is duplicated. It is also included on the 12th line. asm/tlbflush.h included in arch/powerpc/include/asm/pgtable.h is duplicated. It is also included on the 11th line. asm/page.h included in arch/powerpc/include/asm/thread_info.h is duplicated. It is also included on the 13th line. Signed-off-by: Zhang Yunkai <zhang.yunkai@zte.com.cn> [mpe: Squash together from multiple commits] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/pgtable.h')
-rw-r--r--arch/powerpc/include/asm/pgtable.h2
1 files changed, 0 insertions, 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))