patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / arch / sparc64 / kernel / setup.c
index 0da4309..3d097a4 100644 (file)
@@ -293,7 +293,7 @@ int prom_callback(long *args)
                unsigned long tte;
 
                tte = args[3];
-               prom_printf("%lx ", (tte & 0x07FC000000000000) >> 50);
+               prom_printf("%lx ", (tte & 0x07FC000000000000UL) >> 50);
 
                args[2] = 2;
                args[args[1] + 3] = 0;