patch-2.4.27 linux-2.4.27/arch/ia64/kernel/unwind.c
Next file: linux-2.4.27/arch/ia64/mm/hugetlbpage.c
Previous file: linux-2.4.27/arch/ia64/kernel/salinfo.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
2004-08-07 16:26:04.576343572 -0700
-  Orig file: 
linux-2.4.26/arch/ia64/kernel/unwind.c
-  Orig date: 
2004-04-14 06:05:26.000000000 -0700
diff -urN linux-2.4.26/arch/ia64/kernel/unwind.c linux-2.4.27/arch/ia64/kernel/unwind.c
@@ -1750,7 +1750,7 @@
 			if (!state->pri_unat_loc)
 				state->pri_unat_loc = &state->sw->ar_unat;
 			/* register off. is a multiple of 8, so the least 3 bits (type) are 0 */
-			s[dst+1] = (*state->pri_unat_loc - s[dst]) | UNW_NAT_MEMSTK;
+			s[dst+1] = ((unsigned long) state->pri_unat_loc - s[dst]) | UNW_NAT_MEMSTK;
 			break;
 
 		      case UNW_INSN_SETNAT_TYPE:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)