[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 3/9] vm_event: Make ‘local’ functions ‘static’
vm_event_get_response, vm_event_resume, and vm_event_mark_and_pause are used only in xen/common/vm_event.c. Signed-off-by: Petre Pircalabu <ppircalabu@xxxxxxxxxxxxxxx> --- xen/common/vm_event.c | 6 +++--- xen/include/xen/vm_event.h | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/xen/common/vm_event.c b/xen/common/vm_event.c index d7c5f22..3505589 100644 --- a/xen/common/vm_event.c +++ b/xen/common/vm_event.c @@ -252,7 +252,7 @@ static inline void vm_event_release_slot(struct domain *d, * vm_event_mark_and_pause() tags vcpu and put it to sleep. * The vcpu will resume execution in vm_event_wake_blocked(). */ -void vm_event_mark_and_pause(struct vcpu *v, struct vm_event_domain *ved) +static void vm_event_mark_and_pause(struct vcpu *v, struct vm_event_domain *ved) { if ( !test_and_set_bit(ved->pause_flag, &v->pause_flags) ) { @@ -324,8 +324,8 @@ void vm_event_put_request(struct domain *d, notify_via_xen_event_channel(d, ved->xen_port); } -int vm_event_get_response(struct domain *d, struct vm_event_domain *ved, - vm_event_response_t *rsp) +static int vm_event_get_response(struct domain *d, struct vm_event_domain *ved, + vm_event_response_t *rsp) { vm_event_front_ring_t *front_ring; RING_IDX rsp_cons; diff --git a/xen/include/xen/vm_event.h b/xen/include/xen/vm_event.h index 53af2d5..7f6fb6d 100644 --- a/xen/include/xen/vm_event.h +++ b/xen/include/xen/vm_event.h @@ -64,9 +64,6 @@ void vm_event_cancel_slot(struct domain *d, struct vm_event_domain *ved); void vm_event_put_request(struct domain *d, struct vm_event_domain *ved, vm_event_request_t *req); -int vm_event_get_response(struct domain *d, struct vm_event_domain *ved, - vm_event_response_t *rsp); - int vm_event_domctl(struct domain *d, struct xen_domctl_vm_event_op *vec, XEN_GUEST_HANDLE_PARAM(void) u_domctl); -- 2.7.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |