diff options
-rw-r--r-- | arch/sh/include/asm/pgtable_32.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/sh/include/asm/pgtable_32.h b/arch/sh/include/asm/pgtable_32.h index 43528ec656ba..3cbedd21fd83 100644 --- a/arch/sh/include/asm/pgtable_32.h +++ b/arch/sh/include/asm/pgtable_32.h | |||
@@ -231,13 +231,7 @@ static inline unsigned long copy_ptea_attributes(unsigned long x) | |||
231 | _PAGE_EXT_KERN_EXEC)) | 231 | _PAGE_EXT_KERN_EXEC)) |
232 | 232 | ||
233 | #define PAGE_KERNEL_PCC(slot, type) \ | 233 | #define PAGE_KERNEL_PCC(slot, type) \ |
234 | __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \ | 234 | __pgprot(0) |
235 | _PAGE_ACCESSED | _PAGE_FLAGS_HARD | \ | ||
236 | _PAGE_EXT(_PAGE_EXT_KERN_READ | \ | ||
237 | _PAGE_EXT_KERN_WRITE | \ | ||
238 | _PAGE_EXT_KERN_EXEC) \ | ||
239 | (slot ? _PAGE_PCC_AREA5 : _PAGE_PCC_AREA6) | \ | ||
240 | (type)) | ||
241 | 235 | ||
242 | #elif defined(CONFIG_MMU) /* SH-X TLB */ | 236 | #elif defined(CONFIG_MMU) /* SH-X TLB */ |
243 | #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_CACHABLE | \ | 237 | #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_CACHABLE | \ |