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 0b1d7c665659f8f1b2c424c5dbd3d7b38046416e..8f1e8be8d15ddf7fc57f1774f6c7454fa5cc1a10 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__ */