projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7a0e13
)
sh: Fix up PAGE_KERNEL_PCC() for nommu.
author
Paul Mundt
<lethal@linux-sh.org>
Wed, 7 Nov 2007 02:40:24 +0000
(11:40 +0900)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/include/asm-sh/pgtable.h
b/include/asm-sh/pgtable.h
index
0b1d7c6
..
8f1e8be
100644
(file)
--- 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__ */