sh: Correct pte size mismatch for X2 TLB.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 10 Jan 2008 05:07:03 +0000 (14:07 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:19:02 +0000 (13:19 +0900)
Fixes up a build warning/error in arch/sh/mm/fault_32.c.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/fault_32.c

index 60d74f793a1d33969a68d6c303b37dda4f4cd214..33b43d20e9f6f06a5a967dc11da3b4d8e3f26f59 100644 (file)
@@ -172,7 +172,7 @@ no_context:
        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 "