Browse Source

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>
Paul Mundt 17 years ago
parent
commit
b62ad83d91
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/sh/mm/fault_32.c

+ 1 - 1
arch/sh/mm/fault_32.c

@@ -172,7 +172,7 @@ no_context:
 	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 "