patch-2.4.20 linux-2.4.20/arch/ia64/kernel/unaligned.c

Next file: linux-2.4.20/arch/ia64/kernel/unwind.c
Previous file: linux-2.4.20/arch/ia64/kernel/traps.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/arch/ia64/kernel/unaligned.c linux-2.4.20/arch/ia64/kernel/unaligned.c
@@ -1304,11 +1304,7 @@
 	 * handler into reading an arbitrary kernel addresses...
 	 */
 	if (!user_mode(regs)) {
-#ifdef GAS_HAS_LOCAL_TAGS
-		fix = search_exception_table(regs->cr_iip + ia64_psr(regs)->ri);
-#else
-		fix = search_exception_table(regs->cr_iip);
-#endif
+		fix = SEARCH_EXCEPTION_TABLE(regs);
 	}
 	if (user_mode(regs) || fix.cont) {
 		if ((current->thread.flags & IA64_THREAD_UAC_SIGBUS) != 0)

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