diff options
Diffstat (limited to 'arch/sh/mm/cache-debugfs.c')
-rw-r--r-- | arch/sh/mm/cache-debugfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/mm/cache-debugfs.c b/arch/sh/mm/cache-debugfs.c index 48ce82ee9fd2..690ed010d002 100644 --- a/arch/sh/mm/cache-debugfs.c +++ b/arch/sh/mm/cache-debugfs.c | |||
@@ -36,7 +36,7 @@ static int cache_seq_show(struct seq_file *file, void *iter) | |||
36 | */ | 36 | */ |
37 | jump_to_uncached(); | 37 | jump_to_uncached(); |
38 | 38 | ||
39 | ccr = ctrl_inl(CCR); | 39 | ccr = __raw_readl(CCR); |
40 | if ((ccr & CCR_CACHE_ENABLE) == 0) { | 40 | if ((ccr & CCR_CACHE_ENABLE) == 0) { |
41 | back_to_cached(); | 41 | back_to_cached(); |
42 | 42 | ||
@@ -89,7 +89,7 @@ static int cache_seq_show(struct seq_file *file, void *iter) | |||
89 | for (addr = addrstart, line = 0; | 89 | for (addr = addrstart, line = 0; |
90 | addr < addrstart + waysize; | 90 | addr < addrstart + waysize; |
91 | addr += cache->linesz, line++) { | 91 | addr += cache->linesz, line++) { |
92 | unsigned long data = ctrl_inl(addr); | 92 | unsigned long data = __raw_readl(addr); |
93 | 93 | ||
94 | /* Check the V bit, ignore invalid cachelines */ | 94 | /* Check the V bit, ignore invalid cachelines */ |
95 | if ((data & 1) == 0) | 95 | if ((data & 1) == 0) |