diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-10-22 15:06:01 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-10-22 15:06:01 +0100 |
commit | 828dfa9ef2bb3dae3ee29cccbe3d4d75bf56b8a6 (patch) | |
tree | ccf08c9ffaa14b3cee443be3ffca637202fabbf3 /xen/common/event_channel.c | |
parent | cdd644ce1082849d20832902d8d5a69b854f8cbe (diff) | |
download | xen-828dfa9ef2bb3dae3ee29cccbe3d4d75bf56b8a6.tar.gz xen-828dfa9ef2bb3dae3ee29cccbe3d4d75bf56b8a6.tar.bz2 xen-828dfa9ef2bb3dae3ee29cccbe3d4d75bf56b8a6.zip |
Define spin_barrier_irq() for IRQ-safe spinlocks, and use it for virq_lock.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/common/event_channel.c')
-rw-r--r-- | xen/common/event_channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/event_channel.c b/xen/common/event_channel.c index 8e3e0d1f64..3993df4bc5 100644 --- a/xen/common/event_channel.c +++ b/xen/common/event_channel.c @@ -386,7 +386,7 @@ static long __evtchn_close(struct domain *d1, int port1) if ( v->virq_to_evtchn[chn1->u.virq] != port1 ) continue; v->virq_to_evtchn[chn1->u.virq] = 0; - spin_barrier(&v->virq_lock); + spin_barrier_irq(&v->virq_lock); } break; |