Isaku Yamahata (on Tue, 26 Feb 2008 22:58:55 +0900) wrote: > /* > * ia64_leave_syscall(): Same as ia64_leave_kernel, except that it doesn't >@@ -153,7 +165,8 @@ END(__ia64_switch_to) > * ar.csd: cleared > * ar.ssd: cleared > */ >-GLOBAL_ENTRY(__ia64_leave_syscall) >+GLOBAL_ENTRY(__paravirt_leave_syscall) >+ BR_IF_NATIVE(__ia64_leave_syscall, r22, p7) > PT_REGS_UNWIND_INFO(0) Move BR_IF_NATIVE after PT_REGS_UNWIND_INFO. PT_REGS_UNWIND_INFO must define the unwind state at slot 0 of this function to get correct unwind state. When virtualized, BR_IF_NATIVE will generate extra code and move the unwind data past slot 0, breaking the backtrace. >-GLOBAL_ENTRY(__ia64_leave_kernel) >+GLOBAL_ENTRY(__paravirt_leave_kernel) >+ BR_IF_NATIVE(__ia64_leave_kernel, r22, p7) > PT_REGS_UNWIND_INFO(0) Ditto. - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |