ia64/xen-unstable

changeset 9713:2ccaa3879417

Call move_irq() during evtchn ->ack irq hook functions. This
triggers SMP affinity work.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Apr 14 11:58:49 2006 +0100 (2006-04-14)
parents f4285d150d3a
children bb0dc0ae23bb
files linux-2.6-xen-sparse/drivers/xen/core/evtchn.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c	Fri Apr 14 11:58:11 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c	Fri Apr 14 11:58:49 2006 +0100
     1.3 @@ -513,6 +513,8 @@ static void ack_dynirq(unsigned int irq)
     1.4  {
     1.5  	int evtchn = evtchn_from_irq(irq);
     1.6  
     1.7 +	move_native_irq(irq);
     1.8 +
     1.9  	if (VALID_EVTCHN(evtchn)) {
    1.10  		mask_evtchn(evtchn);
    1.11  		clear_evtchn(evtchn);
    1.12 @@ -636,6 +638,8 @@ static void ack_pirq(unsigned int irq)
    1.13  {
    1.14  	int evtchn = evtchn_from_irq(irq);
    1.15  
    1.16 +	move_native_irq(irq);
    1.17 +
    1.18  	if (VALID_EVTCHN(evtchn)) {
    1.19  		mask_evtchn(evtchn);
    1.20  		clear_evtchn(evtchn);