ia64/xen-unstable

changeset 16110:e120054bf0ac

[IA64] vti domain save/restore: add unwind directive to break fault handler

add unwind directive to fast_hypercall path.
While fast_hypercall path calls function (hypercall, do_softirq()) and
might be blocked, it doesn't have unwind infomation.
So stack unwinding fails. Add necessary unwind directive.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Alex Williamson <alex.williamson@hp.com>
date Fri Oct 12 14:30:30 2007 -0600 (2007-10-12)
parents 3d11c7ad9e87
children 4e45ba84a1fa
files xen/arch/ia64/xen/ivt.S
line diff
     1.1 --- a/xen/arch/ia64/xen/ivt.S	Fri Oct 12 14:27:51 2007 -0600
     1.2 +++ b/xen/arch/ia64/xen/ivt.S	Fri Oct 12 14:30:30 2007 -0600
     1.3 @@ -458,6 +458,7 @@ END(daccess_bit)
     1.4  //////////////////////////////////////////////////////////////////////////
     1.5  // 0x2c00 Entry 11 (size 64 bundles) Break instruction (33)
     1.6  ENTRY(break_fault)
     1.7 +	.body
     1.8  	/*
     1.9  	 * The streamlined system call entry/exit paths only save/restore 
    1.10  	 * the initial part of pt_regs.  This implies that the callers of
    1.11 @@ -657,6 +658,7 @@ 1:
    1.12  	bsw.1					// B (6 cyc) regs are saved, switch to bank 1
    1.13  	;;
    1.14  
    1.15 +	PT_REGS_UNWIND_INFO(0)
    1.16  	ssm psr.ic | PSR_DEFAULT_BITS		// M2	now it's safe to re-enable intr.-collection
    1.17  //	movl r3=ia64_ret_from_syscall		// X
    1.18  	;;