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

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)