summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/mmu_decl.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-04-12 07:30:21 +0200
committerPaul Mackerras <paulus@samba.org>2007-04-12 20:09:39 +0200
commit3be4e6990edf65624cfcbf8f7e33810626b2eefa (patch)
treee0da9d35af9cd7779ec1c437ebd661892d586689 /arch/powerpc/mm/mmu_decl.h
parent[POWERPC] Make tlb flush batch use lazy MMU mode (diff)
downloadlinux-3be4e6990edf65624cfcbf8f7e33810626b2eefa.tar.xz
linux-3be4e6990edf65624cfcbf8f7e33810626b2eefa.zip
[POWERPC] Cleanup 32-bit map_page
The 32 bits map_page() function is used internally by the mm code for early mmu mappings and for ioremap. It should never be called for an address that already has a valid PTE or hash entry, so we add a BUG_ON for that and remove the useless flush_HPTE call. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> arch/powerpc/mm/pgtable_32.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/mm/mmu_decl.h')
0 files changed, 0 insertions, 0 deletions