diff options
author | Bob Montgomery <bob.montgomery@hp.com> | 2005-03-31 00:10:45 -0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-03-31 00:10:45 -0800 |
commit | acaf240e91e52280da508b38a5d2da8a55583545 (patch) | |
tree | d09623b62781d3c7a92ea892fce254a0c004c934 | |
parent | 2803c46316ed4a40390d146736cfde137fd114ee (diff) | |
download | history-acaf240e91e52280da508b38a5d2da8a55583545.tar.gz |
[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 <bob.montgomery@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r-- | arch/ia64/kernel/ivt.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ia64/kernel/ivt.S b/arch/ia64/kernel/ivt.S index b3ed949a4f8609..d9c05d53435bd1 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: ;; |