mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
xen: move vcpu_kick() declaration to common header
The vcpu_kick() declaration is duplicated across multiple architecture-specific event.h headers (ARM, x86, PPC). Remove the redundant declarations and move vcpu_kick() into the common xen/include/xen/sched.h header. Drop the definition of vcpu_kick() from ppc/include/asm/event.h, as it is already provided in ppc/stubs.c. Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com> Acked-by: Jan Beulich <jbeulich@suse.com> Acked-by: Michal Orzel <michal.orzel@amd.com>
This commit is contained in:
1 parent
8e34a1d727
commit
9dfcbabb68
4 files changed
+1
-3
No files matched your search
@@ -3,7 +3,6 @@
|
||||
|
||||
#include <asm/domain.h>
|
||||
|
||||
void vcpu_kick(struct vcpu *v);
|
||||
void vcpu_mark_events_pending(struct vcpu *v);
|
||||
void vcpu_update_evtchn_irq(struct vcpu *v);
|
||||
void vcpu_block_unless_event_pending(struct vcpu *v);
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#include <xen/lib.h>
|
||||
|
||||
/* TODO: implement */
|
||||
static inline void vcpu_kick(struct vcpu *v) { BUG_ON("unimplemented"); }
|
||||
static inline void vcpu_mark_events_pending(struct vcpu *v) { BUG_ON("unimplemented"); }
|
||||
static inline void vcpu_update_evtchn_irq(struct vcpu *v) { BUG_ON("unimplemented"); }
|
||||
static inline void vcpu_block_unless_event_pending(struct vcpu *v) { BUG_ON("unimplemented"); }
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
#include <xen/shared.h>
|
||||
|
||||
void vcpu_kick(struct vcpu *v);
|
||||
void vcpu_mark_events_pending(struct vcpu *v);
|
||||
|
||||
static inline int vcpu_event_delivery_is_enabled(struct vcpu *v)
|
||||
|
||||
@@ -877,6 +877,7 @@ void vcpu_wake(struct vcpu *v);
|
||||
long vcpu_yield(void);
|
||||
void vcpu_sleep_nosync(struct vcpu *v);
|
||||
void vcpu_sleep_sync(struct vcpu *v);
|
||||
void vcpu_kick(struct vcpu *v);
|
||||
|
||||
/*
|
||||
* Force synchronisation of given VCPU's state. If it is currently descheduled,
|
||||
|
||||