diff options
Diffstat (limited to 'arch/mips/include/asm/page.h')
-rw-r--r-- | arch/mips/include/asm/page.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/mips/include/asm/page.h b/arch/mips/include/asm/page.h index f59552fae917..f6be4741f7e8 100644 --- a/arch/mips/include/asm/page.h +++ b/arch/mips/include/asm/page.h | |||
@@ -205,10 +205,8 @@ extern int __virt_addr_valid(const volatile void *kaddr); | |||
205 | #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ | 205 | #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ |
206 | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) | 206 | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) |
207 | 207 | ||
208 | #define UNCAC_ADDR(addr) ((addr) - PAGE_OFFSET + UNCAC_BASE + \ | 208 | #define UNCAC_ADDR(addr) ((addr) - PAGE_OFFSET + UNCAC_BASE) |
209 | PHYS_OFFSET) | 209 | #define CAC_ADDR(addr) ((addr) - UNCAC_BASE + PAGE_OFFSET) |
210 | #define CAC_ADDR(addr) ((addr) - UNCAC_BASE + PAGE_OFFSET - \ | ||
211 | PHYS_OFFSET) | ||
212 | 210 | ||
213 | #include <asm-generic/memory_model.h> | 211 | #include <asm-generic/memory_model.h> |
214 | #include <asm-generic/getorder.h> | 212 | #include <asm-generic/getorder.h> |