diff options
author | James Bottomley <jejb@parisc-linux.org> | 2006-03-22 11:42:04 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@hera.kernel.org> | 2006-03-30 12:48:44 -0500 |
commit | ba57583396585a1ca509e2a84d970a2ff3f9bbfb (patch) | |
tree | 29568b37c8f4af9edc86d702a98713b0f016c78a /arch | |
parent | ab43227c8a568119a3aebc952a95ac3023e1730d (diff) |
[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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/kernel/cache.c | 6 | ||||
-rw-r--r-- | arch/parisc/kernel/pacache.S | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/parisc/kernel/cache.c b/arch/parisc/kernel/cache.c index d8a4ca021aac..360b7391cb8c 100644 --- a/arch/parisc/kernel/cache.c +++ b/arch/parisc/kernel/cache.c | |||
@@ -89,7 +89,7 @@ update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t pte) | |||
89 | if (pfn_valid(page_to_pfn(page)) && page_mapping(page) && | 89 | if (pfn_valid(page_to_pfn(page)) && page_mapping(page) && |
90 | test_bit(PG_dcache_dirty, &page->flags)) { | 90 | test_bit(PG_dcache_dirty, &page->flags)) { |
91 | 91 | ||
92 | flush_kernel_dcache_page(page_address(page)); | 92 | flush_kernel_dcache_page(page); |
93 | clear_bit(PG_dcache_dirty, &page->flags); | 93 | clear_bit(PG_dcache_dirty, &page->flags); |
94 | } | 94 | } |
95 | } | 95 | } |
@@ -278,7 +278,7 @@ void flush_dcache_page(struct page *page) | |||
278 | return; | 278 | return; |
279 | } | 279 | } |
280 | 280 | ||
281 | flush_kernel_dcache_page(page_address(page)); | 281 | flush_kernel_dcache_page(page); |
282 | 282 | ||
283 | if (!mapping) | 283 | if (!mapping) |
284 | return; | 284 | return; |
@@ -317,7 +317,7 @@ EXPORT_SYMBOL(flush_dcache_page); | |||
317 | 317 | ||
318 | /* Defined in arch/parisc/kernel/pacache.S */ | 318 | /* Defined in arch/parisc/kernel/pacache.S */ |
319 | EXPORT_SYMBOL(flush_kernel_dcache_range_asm); | 319 | EXPORT_SYMBOL(flush_kernel_dcache_range_asm); |
320 | EXPORT_SYMBOL(flush_kernel_dcache_page); | 320 | EXPORT_SYMBOL(flush_kernel_dcache_page_asm); |
321 | EXPORT_SYMBOL(flush_data_cache_local); | 321 | EXPORT_SYMBOL(flush_data_cache_local); |
322 | EXPORT_SYMBOL(flush_kernel_icache_range_asm); | 322 | EXPORT_SYMBOL(flush_kernel_icache_range_asm); |
323 | 323 | ||
diff --git a/arch/parisc/kernel/pacache.S b/arch/parisc/kernel/pacache.S index 9534ee17b9be..7a4f07e8d3c3 100644 --- a/arch/parisc/kernel/pacache.S +++ b/arch/parisc/kernel/pacache.S | |||
@@ -621,9 +621,9 @@ __clear_user_page_asm: | |||
621 | 621 | ||
622 | .procend | 622 | .procend |
623 | 623 | ||
624 | .export flush_kernel_dcache_page | 624 | .export flush_kernel_dcache_page_asm |
625 | 625 | ||
626 | flush_kernel_dcache_page: | 626 | flush_kernel_dcache_page_asm: |
627 | .proc | 627 | .proc |
628 | .callinfo NO_CALLS | 628 | .callinfo NO_CALLS |
629 | .entry | 629 | .entry |