projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6191d
)
sh: Fix up cache-sh4 build on SMP.
author
Paul Mundt
<lethal@linux-sh.org>
Thu, 20 Aug 2009 06:24:41 +0000
(15:24 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Thu, 20 Aug 2009 06:24:41 +0000
(15:24 +0900)
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>
arch/sh/mm/cache-sh4.c
patch
|
blob
|
history
diff --git
a/arch/sh/mm/cache-sh4.c
b/arch/sh/mm/cache-sh4.c
index
05cb04b
..
6c2db14
100644
(file)
--- 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