Skip to content

Commit

Permalink
sh: Fix up PAGE_KERNEL_PCC() for nommu.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Nov 7, 2007
1 parent c7a0e13 commit ac11584
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/asm-sh/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */
Expand Down

0 comments on commit ac11584

Please sign in to comment.