Commit 21046a9f authored by David S. Miller's avatar David S. Miller

[SPARC64]: Fix mixed declarations and code in flush_dcache_page_all.

parent 903d3abe
...@@ -720,9 +720,10 @@ void smp_flush_dcache_page_impl(struct page *page, int cpu) ...@@ -720,9 +720,10 @@ void smp_flush_dcache_page_impl(struct page *page, int cpu)
void flush_dcache_page_all(struct mm_struct *mm, struct page *page) void flush_dcache_page_all(struct mm_struct *mm, struct page *page)
{ {
cpumask_t mask = cpu_online_map; cpumask_t mask = cpu_online_map;
cpu_clear(smp_processor_id(), mask);
u64 data0; u64 data0;
cpu_clear(smp_processor_id(), mask);
#ifdef CONFIG_DEBUG_DCFLUSH #ifdef CONFIG_DEBUG_DCFLUSH
atomic_inc(&dcpage_flushes); atomic_inc(&dcpage_flushes);
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment