aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/event_channel.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-06-04 10:25:45 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-06-04 10:25:45 +0100
commitf5736f695844e57ab998aca512df32b747e0c710 (patch)
tree3720b585847b7f991af750896f5e866ba9ebb4b4 /xen/common/event_channel.c
parent2aa16b383171ecb826c23d768305b102f03bff4d (diff)
downloadxen-f5736f695844e57ab998aca512df32b747e0c710.tar.gz
xen-f5736f695844e57ab998aca512df32b747e0c710.tar.bz2
xen-f5736f695844e57ab998aca512df32b747e0c710.zip
notify_via_xen_event_channel() takes explicit domain parameter.
Also remove pointless tasklet from mem_event notify path. Signed-off-by: John Byrne <john.l.byrne@hp.com>
Diffstat (limited to 'xen/common/event_channel.c')
-rw-r--r--xen/common/event_channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/common/event_channel.c b/xen/common/event_channel.c
index b6a15d68a4..0fe798098c 100644
--- a/xen/common/event_channel.c
+++ b/xen/common/event_channel.c
@@ -986,10 +986,10 @@ void free_xen_event_channel(
}
-void notify_via_xen_event_channel(int lport)
+void notify_via_xen_event_channel(struct domain *ld, int lport)
{
struct evtchn *lchn, *rchn;
- struct domain *ld = current->domain, *rd;
+ struct domain *rd;
int rport;
spin_lock(&ld->event_lock);