xen: vcpu_migrate_start can be static
PATCH 1/1 xen: vcpu_migrate_start can be static
It's not used outside of schedule.c.
Signed-off-by Wei Liu <[email protected]>
--- xen/common/schedule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/common/schedule.c +1 -1
@@ -587,7 +587,7 @@ static void vcpu_move_locked(struct vcpu *v, unsigned int new_cpu)* return if it can't (because v is still running); in that case * vcpu_migrate_finish() will be called by context_saved(). */ -void vcpu_migrate_start (struct vcpu *v) +static void vcpu_migrate_start (struct vcpu *v) {set_bit (_VPF_migrating, &v->pause_flags);vcpu_sleep_nosync_locked (v);
Signature · 7 lines
2.20.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 7 lines · Wei Liu
It's not used outside of
schedule.c.Signed-off-by Wei Liu <[email protected]>
Acked-by George Dunlap <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel