patch-2.4.27 linux-2.4.27/arch/sparc64/kernel/process.c

Next file: linux-2.4.27/arch/sparc64/kernel/signal32.c
Previous file: linux-2.4.27/arch/sparc64/kernel/power.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/arch/sparc64/kernel/process.c linux-2.4.27/arch/sparc64/kernel/process.c
@@ -453,7 +453,7 @@
 					page = pmd_alloc_one(NULL, 0);
 				pgd_set(pgd0, page);
 			}
-			pgd_cache = pgd_val(*pgd0) << 11UL;
+			pgd_cache = ((unsigned long) pgd_val(*pgd0)) << 11UL;
 		}
 		__asm__ __volatile__("stxa %0, [%1] %2\n\t"
 				     "membar #Sync"

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)