summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/cache-sh2.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/mm/cache-sh2.c')
-rw-r--r--arch/sh/mm/cache-sh2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/mm/cache-sh2.c b/arch/sh/mm/cache-sh2.c
index defcf71..a74259f 100644
--- a/arch/sh/mm/cache-sh2.c
+++ b/arch/sh/mm/cache-sh2.c
@@ -63,9 +63,9 @@ static void sh2__flush_invalidate_region(void *start, int size)
local_irq_save(flags);
jump_to_uncached();
- ccr = __raw_readl(CCR);
+ ccr = __raw_readl(SH_CCR);
ccr |= CCR_CACHE_INVALIDATE;
- __raw_writel(ccr, CCR);
+ __raw_writel(ccr, SH_CCR);
back_to_cached();
local_irq_restore(flags);
OpenPOWER on IntegriCloud