Skip to content

Commit

Permalink
sh: Correct pte size mismatch for X2 TLB.
Browse files Browse the repository at this point in the history
Fixes up a build warning/error in arch/sh/mm/fault_32.c.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jan 28, 2008
1 parent e08d8aa commit b62ad83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/mm/fault_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ asmlinkage void __kprobes do_page_fault(struct pt_regs *regs,
bust_spinlocks(1);

if (oops_may_print()) {
__typeof__(pte_val(__pte(0))) page;
unsigned long page;

if (address < PAGE_SIZE)
printk(KERN_ALERT "Unable to handle kernel NULL "
Expand Down

0 comments on commit b62ad83

Please sign in to comment.