diff options
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/mips-cpc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/include/asm/mips-cpc.h b/arch/mips/include/asm/mips-cpc.h index fb78935010a3..988507e46d42 100644 --- a/arch/mips/include/asm/mips-cpc.h +++ b/arch/mips/include/asm/mips-cpc.h | |||
@@ -75,13 +75,13 @@ static inline bool mips_cpc_present(void) | |||
75 | #define BUILD_CPC_R_(name, off) \ | 75 | #define BUILD_CPC_R_(name, off) \ |
76 | static inline u32 read_cpc_##name(void) \ | 76 | static inline u32 read_cpc_##name(void) \ |
77 | { \ | 77 | { \ |
78 | return readl(mips_cpc_base + (off)); \ | 78 | return __raw_readl(mips_cpc_base + (off)); \ |
79 | } | 79 | } |
80 | 80 | ||
81 | #define BUILD_CPC__W(name, off) \ | 81 | #define BUILD_CPC__W(name, off) \ |
82 | static inline void write_cpc_##name(u32 value) \ | 82 | static inline void write_cpc_##name(u32 value) \ |
83 | { \ | 83 | { \ |
84 | writel(value, mips_cpc_base + (off)); \ | 84 | __raw_writel(value, mips_cpc_base + (off)); \ |
85 | } | 85 | } |
86 | 86 | ||
87 | #define BUILD_CPC_RW(name, off) \ | 87 | #define BUILD_CPC_RW(name, off) \ |