]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/mm: Remove flush_HPTE()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 14 Dec 2008 19:44:51 +0000 (19:44 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 16 Dec 2008 04:53:34 +0000 (15:53 +1100)
commitf63837f0581fe580168ae1a7d178ded935411747
treeea4956ae770193ad2d18f5be599df44014419577
parente41e811a79a4e328005be2744c3076ebde455088
powerpc/mm: Remove flush_HPTE()

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 to
flush_tlb_page() for everybody else.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/mmu_decl.h
arch/powerpc/mm/pgtable_32.c