Skip to contentSkip to conversation

xen: vcpu_migrate_start can be static

PATCH In review Wei Liu 2 participants 2 messages Apr 4, 2019

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 xen: vcpu_migrate_start can be static

It's not used outside of schedule.c.

---
 xen/common/schedule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/common/schedule.c +1 -1
index 26298c09fc..39b87a7682 100644
@@ -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