diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-04-23 12:19:26 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-04-30 11:32:04 +0100 |
commit | 7be7b15dde4364b6f524aa9330a283c60b7708ea (patch) | |
tree | 77e049f18e037a09132ab6f993811f497a8ad70b /xen/include/xen/sched.h | |
parent | 11d8866da50a75ef5089faebdfa37164bdcb7545 (diff) | |
download | xen-7be7b15dde4364b6f524aa9330a283c60b7708ea.tar.gz xen-7be7b15dde4364b6f524aa9330a283c60b7708ea.tar.bz2 xen-7be7b15dde4364b6f524aa9330a283c60b7708ea.zip |
xen: introduce vcpu_block
Rename do_block to vcpu_block.
Move the call to local_event_delivery_enable out of vcpu_block, to a new
static function called vcpu_block_enable_events.
Use vcpu_block_enable_events instead of do_block throughout in
schedule.c
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/xen/sched.h')
-rw-r--r-- | xen/include/xen/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h index ad971d22fe..beadc429f9 100644 --- a/xen/include/xen/sched.h +++ b/xen/include/xen/sched.h @@ -690,6 +690,7 @@ static inline int vcpu_runnable(struct vcpu *v) atomic_read(&v->domain->pause_count)); } +void vcpu_block(void); void vcpu_unblock(struct vcpu *v); void vcpu_pause(struct vcpu *v); void vcpu_pause_nosync(struct vcpu *v); |