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

powerpc: remove unnecessary inclusion of asm/tlbflush.h

asm/tlbflush.h is only needed for:
- using functions xxx_flush_tlb_xxx()
- using MMU_NO_CONTEXT
- including asm-generic/pgtable.h

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Christophe Leroy and committed by
Michael Ellerman
45ef5992 7bc39695

+1 -22
+1 -1
arch/powerpc/include/asm/highmem.h
··· 25 25 26 26 #include <linux/interrupt.h> 27 27 #include <asm/kmap_types.h> 28 - #include <asm/tlbflush.h> 28 + #include <asm/cacheflush.h> 29 29 #include <asm/page.h> 30 30 #include <asm/fixmap.h> 31 31
-1
arch/powerpc/include/asm/tlb.h
··· 17 17 #include <asm/pgtable.h> 18 18 #endif 19 19 #include <asm/pgalloc.h> 20 - #include <asm/tlbflush.h> 21 20 #ifndef __powerpc64__ 22 21 #include <asm/page.h> 23 22 #include <asm/mmu.h>
-1
arch/powerpc/kvm/book3s.c
··· 28 28 #include <asm/reg.h> 29 29 #include <asm/cputable.h> 30 30 #include <asm/cacheflush.h> 31 - #include <asm/tlbflush.h> 32 31 #include <linux/uaccess.h> 33 32 #include <asm/io.h> 34 33 #include <asm/kvm_ppc.h>
-1
arch/powerpc/kvm/book3s_32_mmu.c
··· 23 23 #include <linux/kvm_host.h> 24 24 #include <linux/highmem.h> 25 25 26 - #include <asm/tlbflush.h> 27 26 #include <asm/kvm_ppc.h> 28 27 #include <asm/kvm_book3s.h> 29 28
-1
arch/powerpc/kvm/book3s_64_mmu.c
··· 23 23 #include <linux/kvm_host.h> 24 24 #include <linux/highmem.h> 25 25 26 - #include <asm/tlbflush.h> 27 26 #include <asm/kvm_ppc.h> 28 27 #include <asm/kvm_book3s.h> 29 28 #include <asm/book3s/64/mmu-hash.h>
-1
arch/powerpc/kvm/book3s_64_mmu_hv.c
··· 29 29 #include <linux/file.h> 30 30 #include <linux/debugfs.h> 31 31 32 - #include <asm/tlbflush.h> 33 32 #include <asm/kvm_ppc.h> 34 33 #include <asm/kvm_book3s.h> 35 34 #include <asm/book3s/64/mmu-hash.h>
-1
arch/powerpc/kvm/book3s_64_vio.c
··· 31 31 #include <linux/iommu.h> 32 32 #include <linux/file.h> 33 33 34 - #include <asm/tlbflush.h> 35 34 #include <asm/kvm_ppc.h> 36 35 #include <asm/kvm_book3s.h> 37 36 #include <asm/book3s/64/mmu-hash.h>
-1
arch/powerpc/kvm/book3s_64_vio_hv.c
··· 28 28 #include <linux/list.h> 29 29 #include <linux/stringify.h> 30 30 31 - #include <asm/tlbflush.h> 32 31 #include <asm/kvm_ppc.h> 33 32 #include <asm/kvm_book3s.h> 34 33 #include <asm/book3s/64/mmu-hash.h>
-1
arch/powerpc/kvm/book3s_hv.c
··· 53 53 #include <asm/disassemble.h> 54 54 #include <asm/cputable.h> 55 55 #include <asm/cacheflush.h> 56 - #include <asm/tlbflush.h> 57 56 #include <linux/uaccess.h> 58 57 #include <asm/io.h> 59 58 #include <asm/kvm_ppc.h>
-1
arch/powerpc/kvm/book3s_hv_rm_mmu.c
··· 14 14 #include <linux/module.h> 15 15 #include <linux/log2.h> 16 16 17 - #include <asm/tlbflush.h> 18 17 #include <asm/trace.h> 19 18 #include <asm/kvm_ppc.h> 20 19 #include <asm/kvm_book3s.h>
-1
arch/powerpc/kvm/book3s_pr.c
··· 27 27 #include <asm/reg.h> 28 28 #include <asm/cputable.h> 29 29 #include <asm/cacheflush.h> 30 - #include <asm/tlbflush.h> 31 30 #include <linux/uaccess.h> 32 31 #include <asm/io.h> 33 32 #include <asm/kvm_ppc.h>
-1
arch/powerpc/kvm/e500.c
··· 21 21 22 22 #include <asm/reg.h> 23 23 #include <asm/cputable.h> 24 - #include <asm/tlbflush.h> 25 24 #include <asm/kvm_ppc.h> 26 25 27 26 #include "../mm/mmu_decl.h"
-1
arch/powerpc/kvm/e500mc.c
··· 21 21 22 22 #include <asm/reg.h> 23 23 #include <asm/cputable.h> 24 - #include <asm/tlbflush.h> 25 24 #include <asm/kvm_ppc.h> 26 25 #include <asm/dbell.h> 27 26
-1
arch/powerpc/kvm/powerpc.c
··· 33 33 #include <asm/cputable.h> 34 34 #include <linux/uaccess.h> 35 35 #include <asm/kvm_ppc.h> 36 - #include <asm/tlbflush.h> 37 36 #include <asm/cputhreads.h> 38 37 #include <asm/irqflags.h> 39 38 #include <asm/iommu.h>
-1
arch/powerpc/mm/fault.c
··· 42 42 #include <asm/pgtable.h> 43 43 #include <asm/mmu.h> 44 44 #include <asm/mmu_context.h> 45 - #include <asm/tlbflush.h> 46 45 #include <asm/siginfo.h> 47 46 #include <asm/debug.h> 48 47
-1
arch/powerpc/mm/hash_native_64.c
··· 23 23 #include <asm/mmu.h> 24 24 #include <asm/mmu_context.h> 25 25 #include <asm/pgtable.h> 26 - #include <asm/tlbflush.h> 27 26 #include <asm/trace.h> 28 27 #include <asm/tlb.h> 29 28 #include <asm/cputable.h>
-1
arch/powerpc/mm/hash_utils_64.c
··· 48 48 #include <linux/uaccess.h> 49 49 #include <asm/machdep.h> 50 50 #include <asm/prom.h> 51 - #include <asm/tlbflush.h> 52 51 #include <asm/io.h> 53 52 #include <asm/eeh.h> 54 53 #include <asm/tlb.h>
-1
arch/powerpc/mm/mmu_context_hash32.c
··· 27 27 #include <linux/export.h> 28 28 29 29 #include <asm/mmu_context.h> 30 - #include <asm/tlbflush.h> 31 30 32 31 /* 33 32 * On 32-bit PowerPC 6xx/7xx/7xxx CPUs, we use a set of 16 VSIDs
-1
arch/powerpc/mm/mmu_decl.h
··· 19 19 * 20 20 */ 21 21 #include <linux/mm.h> 22 - #include <asm/tlbflush.h> 23 22 #include <asm/mmu.h> 24 23 25 24 #ifdef CONFIG_PPC_MMU_NOHASH
-1
arch/powerpc/mm/subpage-prot.c
··· 17 17 18 18 #include <asm/pgtable.h> 19 19 #include <linux/uaccess.h> 20 - #include <asm/tlbflush.h> 21 20 22 21 /* 23 22 * Free all pages allocated for subpage protection maps and pointers.
-1
arch/powerpc/platforms/pseries/lpar.c
··· 37 37 #include <asm/machdep.h> 38 38 #include <asm/mmu_context.h> 39 39 #include <asm/iommu.h> 40 - #include <asm/tlbflush.h> 41 40 #include <asm/tlb.h> 42 41 #include <asm/prom.h> 43 42 #include <asm/cputable.h>
-1
arch/powerpc/sysdev/cpm1.c
··· 38 38 #include <asm/8xx_immap.h> 39 39 #include <asm/cpm1.h> 40 40 #include <asm/io.h> 41 - #include <asm/tlbflush.h> 42 41 #include <asm/rheap.h> 43 42 #include <asm/prom.h> 44 43 #include <asm/cpm.h>