Fix build.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
Keir Fraser committed 2008-07-04 12:20:19 +01:00
1 parent e2b0df4318
commit ddfd61bd7e
3 files changed
+5 -7

No files matched your search

+1 -4
View File
@@ -97,11 +97,8 @@ static void __domain_finalise_shutdown(struct domain *d)
return;
d->is_shut_down = 1;
if ( d->shutdown_code == SHUTDOWN_suspend
&& d->suspend_evtchn > 0 )
{
if ( (d->shutdown_code == SHUTDOWN_suspend) && d->suspend_evtchn )
evtchn_set_pending(dom0->vcpu[0], d->suspend_evtchn);
}
else
send_guest_global_virq(dom0, VIRQ_DOM_EXC);
}
+1 -3
View File
@@ -56,8 +56,6 @@
goto out; \
} while ( 0 )
static int evtchn_set_pending(struct vcpu *v, int port);
static int virq_is_global(int virq)
{
int rc;
@@ -537,7 +535,7 @@ out:
}
static int evtchn_set_pending(struct vcpu *v, int port)
int evtchn_set_pending(struct vcpu *v, int port)
{
struct domain *d = v->domain;
+3
View File
@@ -16,6 +16,9 @@
#include <asm/bitops.h>
#include <asm/event.h>
/* Returns TRUE if the delivery port was already pending. */
int evtchn_set_pending(struct vcpu *v, int port);
/*
* send_guest_vcpu_virq: Notify guest via a per-VCPU VIRQ.
* @v: VCPU to which virtual IRQ should be sent
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.