diff options
Diffstat (limited to 'arch/ppc/mm/init.c')
-rw-r--r-- | arch/ppc/mm/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ppc/mm/init.c b/arch/ppc/mm/init.c index 6164a2b34733..33ada72c7330 100644 --- a/arch/ppc/mm/init.c +++ b/arch/ppc/mm/init.c | |||
@@ -562,6 +562,9 @@ void flush_dcache_icache_page(struct page *page) | |||
562 | #ifdef CONFIG_BOOKE | 562 | #ifdef CONFIG_BOOKE |
563 | __flush_dcache_icache(kmap(page)); | 563 | __flush_dcache_icache(kmap(page)); |
564 | kunmap(page); | 564 | kunmap(page); |
565 | #elif CONFIG_8xx | ||
566 | /* On 8xx there is no need to kmap since highmem is not supported */ | ||
567 | __flush_dcache_icache(page_address(page)); | ||
565 | #else | 568 | #else |
566 | __flush_dcache_icache_phys(page_to_pfn(page) << PAGE_SHIFT); | 569 | __flush_dcache_icache_phys(page_to_pfn(page) << PAGE_SHIFT); |
567 | #endif | 570 | #endif |