Re: [PATCH] powerpc: Remove flush_HPTE()

2008-12-10 Thread Benjamin Herrenschmidt
On Wed, 2008-12-10 at 17:08 +1100, Benjamin Herrenschmidt wrote: > The function flush_HPTE() is used in only one place, the implementation > of DEBUG_PAGEALLOC on ppc32. > > It's actually a dup of flush_tlb_page() though it's -slightly- more > efficient on hash based processors. We remove it and r

[PATCH] powerpc: Remove flush_HPTE()

2008-12-09 Thread Benjamin Herrenschmidt
The function flush_HPTE() is used in only one place, the implementation of DEBUG_PAGEALLOC on ppc32. It's actually a dup of flush_tlb_page() though it's -slightly- more efficient on hash based processors. We remove it and replace it by a direct call to the hash flush code on those processors and t