powerpc/mm: Make low level TLB flush ops on BookE take additional args
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 23 Jul 2009 23:15:24 +0000 (23:15 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Aug 2009 00:12:41 +0000 (10:12 +1000)
commitd4e167da4cb60910f6ac305aee03714937f70b71
tree44a0faf402dd91024544b3450033b80524b25799
parent44c58ccc8dc25f78a4f641901f17092c93dd0458
powerpc/mm: Make low level TLB flush ops on BookE take additional args

We need to pass down whether the page is direct or indirect and we'll
need to pass the page size to _tlbil_va and _tlbivax_bcast

We also add a new low level _tlbil_pid_noind() which does a TLB flush
by PID but avoids flushing indirect entries if possible

This implements those new prototypes but defines them with inlines
or macros so that no additional arguments are actually passed on current
processors.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/tlbflush.h
arch/powerpc/mm/mmu_decl.h
arch/powerpc/mm/tlb_nohash.c
arch/powerpc/mm/tlb_nohash_low.S