diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c index 05cb04bc3940b8bd43dc751d6dfa4c60ddd78d63..6c2db14010804a17f5569a83a599916410f34f2d 100644 --- a/arch/sh/mm/cache-sh4.c +++ b/arch/sh/mm/cache-sh4.c @@ -106,9 +106,9 @@ static inline void flush_cache_4096(unsigned long start, */ static void sh4_flush_dcache_page(struct page *page) { +#ifndef CONFIG_SMP struct address_space *mapping = page_mapping(page); -#ifndef CONFIG_SMP if (mapping && !mapping_mapped(mapping)) set_bit(PG_dcache_dirty, &page->flags); else