Commit b62ad83d authored by Paul Mundt's avatar Paul Mundt

sh: Correct pte size mismatch for X2 TLB.

Fixes up a build warning/error in arch/sh/mm/fault_32.c.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent e08d8aae
...@@ -172,7 +172,7 @@ asmlinkage void __kprobes do_page_fault(struct pt_regs *regs, ...@@ -172,7 +172,7 @@ asmlinkage void __kprobes do_page_fault(struct pt_regs *regs,
bust_spinlocks(1); bust_spinlocks(1);
if (oops_may_print()) { if (oops_may_print()) {
__typeof__(pte_val(__pte(0))) page; unsigned long page;
if (address < PAGE_SIZE) if (address < PAGE_SIZE)
printk(KERN_ALERT "Unable to handle kernel NULL " printk(KERN_ALERT "Unable to handle kernel NULL "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment