ChangeSet 1.2321.2.2, 2005/03/31 16:10:45-08:00, [EMAIL PROTECTED]

        [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 <[EMAIL PROTECTED]> 
        Signed-off-by: Tony Luck <[EMAIL PROTECTED]>



 ivt.S |    3 +++
 1 files changed, 3 insertions(+)


diff -Nru a/arch/ia64/kernel/ivt.S b/arch/ia64/kernel/ivt.S
--- a/arch/ia64/kernel/ivt.S    2005-03-31 18:15:06 -08:00
+++ b/arch/ia64/kernel/ivt.S    2005-03-31 18:15:06 -08:00
@@ -957,6 +957,8 @@
         * 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 @@
        mov out0=ar.ec
        ;;
        SAVE_REST
+       PT_REGS_UNWIND_INFO(0)
        ;;
        br.call.sptk.many rp=ia64_illegal_op_fault
 .ret0: ;;
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to