sh: Fix up PAGE_KERNEL_PCC() for nommu.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 7 Nov 2007 02:40:24 +0000 (11:40 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 7 Nov 2007 02:40:24 +0000 (11:40 +0900)
PAGE_KERNEL_PCC() takes two arguments, which weren't reflected in the
nommu case. Fix it up.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/pgtable.h

index 0b1d7c6..8f1e8be 100644 (file)
@@ -322,7 +322,9 @@ extern unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)];
 #define PAGE_KERNEL            __pgprot(0)
 #define PAGE_KERNEL_NOCACHE    __pgprot(0)
 #define PAGE_KERNEL_RO         __pgprot(0)
-#define PAGE_KERNEL_PCC                __pgprot(0)
+
+#define PAGE_KERNEL_PCC(slot, type) \
+                               __pgprot(0)
 #endif
 
 #endif /* __ASSEMBLY__ */