|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] xen: vcpu_migrate_start can be static
It's not used outside of schedule.c.
Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
xen/common/schedule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
--
2.20.1
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |