aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r--arch/sparc64/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/traps.c b/arch/sparc64/kernel/traps.c
index 7f190fc57545..5570e7bb22bb 100644
--- a/arch/sparc64/kernel/traps.c
+++ b/arch/sparc64/kernel/traps.c
@@ -1333,7 +1333,7 @@ static int cheetah_check_main_memory(unsigned long paddr)
1333{ 1333{
1334 unsigned long vaddr = PAGE_OFFSET + paddr; 1334 unsigned long vaddr = PAGE_OFFSET + paddr;
1335 1335
1336 if (vaddr > high_memory) 1336 if (vaddr > (unsigned long) high_memory)
1337 return 0; 1337 return 0;
1338 1338
1339 return kern_addr_valid(vaddr); 1339 return kern_addr_valid(vaddr);