[PARISC] Add parisc implementation of flush_kernel_dcache_page()
We need to do a little renaming of our original syntax because of the difference in arguments. Signed-off-by: James Bottomley <jejb@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
committed by
Kyle McMartin
parent
ab43227c8a
commit
ba57583396
@ -89,7 +89,7 @@ update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t pte)
|
||||
if (pfn_valid(page_to_pfn(page)) && page_mapping(page) &&
|
||||
test_bit(PG_dcache_dirty, &page->flags)) {
|
||||
|
||||
flush_kernel_dcache_page(page_address(page));
|
||||
flush_kernel_dcache_page(page);
|
||||
clear_bit(PG_dcache_dirty, &page->flags);
|
||||
}
|
||||
}
|
||||
@ -278,7 +278,7 @@ void flush_dcache_page(struct page *page)
|
||||
return;
|
||||
}
|
||||
|
||||
flush_kernel_dcache_page(page_address(page));
|
||||
flush_kernel_dcache_page(page);
|
||||
|
||||
if (!mapping)
|
||||
return;
|
||||
@ -317,7 +317,7 @@ EXPORT_SYMBOL(flush_dcache_page);
|
||||
|
||||
/* Defined in arch/parisc/kernel/pacache.S */
|
||||
EXPORT_SYMBOL(flush_kernel_dcache_range_asm);
|
||||
EXPORT_SYMBOL(flush_kernel_dcache_page);
|
||||
EXPORT_SYMBOL(flush_kernel_dcache_page_asm);
|
||||
EXPORT_SYMBOL(flush_data_cache_local);
|
||||
EXPORT_SYMBOL(flush_kernel_icache_range_asm);
|
||||
|
||||
|
@ -621,9 +621,9 @@ __clear_user_page_asm:
|
||||
|
||||
.procend
|
||||
|
||||
.export flush_kernel_dcache_page
|
||||
.export flush_kernel_dcache_page_asm
|
||||
|
||||
flush_kernel_dcache_page:
|
||||
flush_kernel_dcache_page_asm:
|
||||
.proc
|
||||
.callinfo NO_CALLS
|
||||
.entry
|
||||
|
Reference in New Issue
Block a user