Message ID | BLU0-SMTP33BC220C6C43A14F8BF18697390@phx.gbl (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
diff --git a/arch/parisc/kernel/cache.c b/arch/parisc/kernel/cache.c index 83335f3..532e3bf 100644 --- a/arch/parisc/kernel/cache.c +++ b/arch/parisc/kernel/cache.c @@ -472,10 +472,14 @@ void flush_cache_mm(struct mm_struct *mm) void flush_user_dcache_range(unsigned long start, unsigned long end) { +#ifdef CONFIG_SMP + flush_data_cache(); +#else if ((end - start) < parisc_cache_flush_threshold) flush_user_dcache_range_asm(start,end); else flush_data_cache(); +#endif } void