]> 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)
commit5e8f17a49d04215b3844dc525c9bc50bd587186a
tree133b4d5e9bbebf4eed984ca5ad9dfb95f269448f
parentf4ba5e40c197abef318ef923bb6ac6676e255212
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