diff mbox series

xen: vcpu_migrate_start can be static

Message ID 20190404141336.2276-1-wei.liu2@citrix.com (mailing list archive)
State New, archived
Headers show
Series xen: vcpu_migrate_start can be static | expand

Commit Message

Wei Liu April 4, 2019, 2:13 p.m. UTC
It's not used outside of schedule.c.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 xen/common/schedule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

George Dunlap April 4, 2019, 3 p.m. UTC | #1
> On Apr 4, 2019, at 3:13 PM, Wei Liu <wei.liu2@citrix.com> wrote:
> 
> It's not used outside of schedule.c.
> 
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>

Acked-by: George Dunlap <george.dunlap@citrix.com>
diff mbox series

Patch

diff --git a/xen/common/schedule.c b/xen/common/schedule.c
index 26298c09fc..39b87a7682 100644
--- a/xen/common/schedule.c
+++ b/xen/common/schedule.c
@@ -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);