From: Paul Mundt Date: Wed, 7 Nov 2007 02:40:24 +0000 (+0900) Subject: sh: Fix up PAGE_KERNEL_PCC() for nommu. X-Git-Tag: v2.6.24-rc3~171^2~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac11584ccbd14aadcc6613598f3bac4589ea3a11;p=linux-2.6 sh: Fix up PAGE_KERNEL_PCC() for nommu. PAGE_KERNEL_PCC() takes two arguments, which weren't reflected in the nommu case. Fix it up. Signed-off-by: Paul Mundt --- diff --git a/include/asm-sh/pgtable.h b/include/asm-sh/pgtable.h index 0b1d7c6656..8f1e8be8d1 100644 --- a/include/asm-sh/pgtable.h +++ b/include/asm-sh/pgtable.h @@ -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__ */