aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/mmu_decl.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-04-12 15:30:21 +1000
committerPaul Mackerras <paulus@samba.org>2007-04-13 04:09:39 +1000
commit3be4e6990edf65624cfcbf8f7e33810626b2eefa (patch)
treee0da9d35af9cd7779ec1c437ebd661892d586689 /arch/powerpc/mm/mmu_decl.h
parenta741e67969577163a4cfc78d7fd2753219087ef1 (diff)
[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