summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-01-10 06:07:03 +0100
committerPaul Mundt <lethal@linux-sh.org>2008-01-28 05:19:02 +0100
commitb62ad83d91ebf1368e9e72d476b18698ac67bef9 (patch)
tree10e0829db1756e5da1b8df21f18159c001141166 /arch
parentsh: Fix posix_types.h userspace breakage from sh64 merge. (diff)
downloadlinux-b62ad83d91ebf1368e9e72d476b18698ac67bef9.tar.xz
linux-b62ad83d91ebf1368e9e72d476b18698ac67bef9.zip
sh: Correct pte size mismatch for X2 TLB.
Fixes up a build warning/error in arch/sh/mm/fault_32.c. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/mm/fault_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/fault_32.c b/arch/sh/mm/fault_32.c
index 60d74f793a1d..33b43d20e9f6 100644
--- a/arch/sh/mm/fault_32.c
+++ b/arch/sh/mm/fault_32.c
@@ -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 "