]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm: update legacy flush_tlb_* to use vma
authorChen Li <chenli@uniontech.com>
Tue, 29 Jun 2021 02:39:56 +0000 (19:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Jun 2021 17:53:52 +0000 (10:53 -0700)
commit5673a60b80e8d1eaaa1e800e8a85451fd037f63e
tree133b4d5e9bbebf4eed984ca5ad9dfb95f269448f
parent33e3575c5148c9874122d9a5062d58fc570f5ee6
mm: update legacy flush_tlb_* to use vma

1. These tlb flush functions have been using vma instead mm long time
   ago, but there is still some comments use mm as parameter.

2. the actual struct we use is vm_area_struct instead of vma_struct.

3. remove unused flush_kern_tlb_page.

Link: https://lkml.kernel.org/r/87k0oaq311.wl-chenli@uniontech.com
Signed-off-by: Chen Li <chenli@uniontech.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/include/asm/tlbflush.h
arch/arm/mm/tlb-v6.S
arch/arm/mm/tlb-v7.S
arch/ia64/kernel/efi_stub.S
arch/m68k/include/asm/tlbflush.h
arch/openrisc/include/asm/tlbflush.h
arch/xtensa/include/asm/tlbflush.h