ia64/xen-unstable

changeset 12520:bcd2960d6dfd

[IA64] fix broken PAL_HALT_LIGHT

xen-unstable.hg cset 12471:cf98903ebb22 changed do_block() to
only pend a schedule softirq. We now need to explicitly call
do_softirq() for force the schedule, otherwise we stop the
hlt_timer before it does it's thing.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author awilliam@xenbuild.aw
date Mon Nov 20 21:10:59 2006 -0700 (2006-11-20)
parents 0699c3eff7a3
children 357a3c90d67b
files xen/arch/ia64/xen/hypercall.c
line diff
     1.1 --- a/xen/arch/ia64/xen/hypercall.c	Mon Nov 20 13:11:15 2006 -0700
     1.2 +++ b/xen/arch/ia64/xen/hypercall.c	Mon Nov 20 21:10:59 2006 -0700
     1.3 @@ -248,6 +248,8 @@ ia64_hypercall(struct pt_regs *regs)
     1.4  				set_timer(&v->arch.hlt_timer,
     1.5  				          vcpu_get_next_timer_ns(v));
     1.6  				do_sched_op_compat(SCHEDOP_block, 0);
     1.7 +				/* do_block only pends a softirq */
     1.8 +				do_softirq();
     1.9  				stop_timer(&v->arch.hlt_timer);
    1.10  			}
    1.11  			regs->r8 = 0;