]> git.baikalelectronics.ru Git - kernel.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)
commitcb86ff2f8b0184415bb095defe92b719963382d8
tree133b4d5e9bbebf4eed984ca5ad9dfb95f269448f
parent9664858e58448b3f03c7e96b88144e2a18ed3d67
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