Date: Fri Jul 8 20:10:17 2005 +0000
authorRalf Baechle <ralf@linux-mips.org>
Fri, 8 Jul 2005 20:10:17 +0000 (20:10 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:31:40 +0000 (19:31 +0100)
Those literals are long.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/tlbex.c

index 3b737fa..7bd8584 100644 (file)
@@ -487,7 +487,7 @@ L_LA(_r3000_write_probe_fail)
 static __init int __attribute__((unused)) in_compat_space_p(long addr)
 {
        /* Is this address in 32bit compat space? */
-       return (((addr) & 0xffffffff00000000) == 0xffffffff00000000);
+       return (((addr) & 0xffffffff00000000L) == 0xffffffff00000000L);
 }
 
 static __init int __attribute__((unused)) rel_highest(long val)