From acaf240e91e52280da508b38a5d2da8a55583545 Mon Sep 17 00:00:00 2001 From: Bob Montgomery Date: Thu, 31 Mar 2005 00:10:45 -0800 Subject: [IA64] fix for unwind problem through dispatch_illegal_op_fault Here is the patch worked out with David Mosberger to fix the unwind info for dispatch_illegal_op_fault in ivt.S. Before adding this patch, an illegal op in the kernel would not show a complete stack trace in the oops message. Add PT_REGS_UNWIND_INFO to dispatch_illegal_op_fault to allow stack unwind to continue through that stack level when kernel code commits an illegal operation. Signed-off-by: Bob Montgomery Signed-off-by: Tony Luck --- arch/ia64/kernel/ivt.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/ia64/kernel/ivt.S b/arch/ia64/kernel/ivt.S index b3ed949a4f860..d9c05d53435bd 100644 --- a/arch/ia64/kernel/ivt.S +++ b/arch/ia64/kernel/ivt.S @@ -957,6 +957,8 @@ END(ia64_syscall_setup) * element, followed by the arguments. */ ENTRY(dispatch_illegal_op_fault) + .prologue + .body SAVE_MIN_WITH_COVER ssm psr.ic | PSR_DEFAULT_BITS ;; @@ -969,6 +971,7 @@ ENTRY(dispatch_illegal_op_fault) mov out0=ar.ec ;; SAVE_REST + PT_REGS_UNWIND_INFO(0) ;; br.call.sptk.many rp=ia64_illegal_op_fault .ret0: ;; -- cgit 1.2.3-korg