]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: remove flush_tlb_page_nohash
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 13 Jul 2016 09:36:44 +0000 (15:06 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 1 Aug 2016 01:15:13 +0000 (11:15 +1000)
commitdc0747dd72b7f1a3d8eed517e78434fd3eac4c56
tree039834ff8550ce2e0f01d42ae0fdeaf2497f7e6d
parent76e3af0434024a2764795a6098cc99f004d5e575
powerpc/mm: remove flush_tlb_page_nohash

This should be same as flush_tlb_page except for hash32. For hash32
I guess the existing code is wrong, because we don't seem to be
flushing tlb for Hash != 0 case at all. Fix this by switching to
calling flush_tlb_page() which does the right thing by flushing
tlb for both hash and nohash case with hash32

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/tlbflush-hash.h
arch/powerpc/include/asm/book3s/64/tlbflush.h
arch/powerpc/include/asm/tlbflush.h
arch/powerpc/mm/pgtable.c
arch/powerpc/mm/tlb_hash32.c