projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
befe075
)
sh: Fix sh2a build error for CONFIG_CACHE_WRITETHROUGH
author
Phil Edworthy
<phil.edworthy@renesas.com>
Tue, 21 Feb 2012 08:29:57 +0000
(08:29 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 24 Feb 2012 04:21:46 +0000
(13:21 +0900)
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/cache-sh2a.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/mm/cache-sh2a.c
b/arch/sh/mm/cache-sh2a.c
index ae08cbbfa5697559cfcb5e669086d9ddbe244d20..949e2d3138a0ca24ffe07e6228a68eeeb72321e9 100644
(file)
--- a/
arch/sh/mm/cache-sh2a.c
+++ b/
arch/sh/mm/cache-sh2a.c
@@
-23,6
+23,7
@@
#define MAX_OCACHE_PAGES 32
#define MAX_ICACHE_PAGES 32
+#ifdef CONFIG_CACHE_WRITEBACK
static void sh2a_flush_oc_line(unsigned long v, int way)
{
unsigned long addr = (v & 0x000007f0) | (way << 11);
@@
-34,6
+35,7
@@
static void sh2a_flush_oc_line(unsigned long v, int way)
__raw_writel(data, CACHE_OC_ADDRESS_ARRAY | addr);
}
}
+#endif
static void sh2a_invalidate_line(unsigned long cache_addr, unsigned long v)
{