aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/pgtable.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-06 21:40:24 -0500
committerPaul Mundt <lethal@linux-sh.org>2007-11-06 21:40:24 -0500
commitac11584ccbd14aadcc6613598f3bac4589ea3a11 (patch)
treeafca7f4e77c53aa0809c0ab35d4fb1bf1e885a30 /include/asm-sh/pgtable.h
parentc7a0e13d0a5316587da0b6d8b3291a473a7df453 (diff)
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 <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/pgtable.h')
-rw-r--r--include/asm-sh/pgtable.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-sh/pgtable.h b/include/asm-sh/pgtable.h
index 0b1d7c665659..8f1e8be8d15d 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)];
322#define PAGE_KERNEL __pgprot(0) 322#define PAGE_KERNEL __pgprot(0)
323#define PAGE_KERNEL_NOCACHE __pgprot(0) 323#define PAGE_KERNEL_NOCACHE __pgprot(0)
324#define PAGE_KERNEL_RO __pgprot(0) 324#define PAGE_KERNEL_RO __pgprot(0)
325#define PAGE_KERNEL_PCC __pgprot(0) 325
326#define PAGE_KERNEL_PCC(slot, type) \
327 __pgprot(0)
326#endif 328#endif
327 329
328#endif /* __ASSEMBLY__ */ 330#endif /* __ASSEMBLY__ */