diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-20 02:24:41 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-20 02:24:41 -0400 |
commit | c139a595878b0e8156476668e3d5c27b6aca7624 (patch) | |
tree | d072bae88bc1637f1c23504ee55e4aad3db67644 /arch/sh/mm | |
parent | fc6191dd301e3bc8cbb142aab1a2ec4e699cb2de (diff) |
sh: Fix up cache-sh4 build on SMP.
mapping is unused on the SMP build, trigger a build error. Move it under
the ifdef.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r-- | arch/sh/mm/cache-sh4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c index 05cb04bc3940..6c2db1401080 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, | |||
106 | */ | 106 | */ |
107 | static void sh4_flush_dcache_page(struct page *page) | 107 | static void sh4_flush_dcache_page(struct page *page) |
108 | { | 108 | { |
109 | #ifndef CONFIG_SMP | ||
109 | struct address_space *mapping = page_mapping(page); | 110 | struct address_space *mapping = page_mapping(page); |
110 | 111 | ||
111 | #ifndef CONFIG_SMP | ||
112 | if (mapping && !mapping_mapped(mapping)) | 112 | if (mapping && !mapping_mapped(mapping)) |
113 | set_bit(PG_dcache_dirty, &page->flags); | 113 | set_bit(PG_dcache_dirty, &page->flags); |
114 | else | 114 | else |