projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58e1417
)
xen: vcpu_migrate_start can be static
author
Wei Liu
<wei.liu2@citrix.com>
Thu, 4 Apr 2019 14:13:36 +0000
(15:13 +0100)
committer
Wei Liu
<wei.liu2@citrix.com>
Thu, 4 Apr 2019 16:22:46 +0000
(17:22 +0100)
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>
xen/common/schedule.c
patch
|
blob
|
history
diff --git
a/xen/common/schedule.c
b/xen/common/schedule.c
index a418506c6bd7b06e2a6ee828dc03ea1293afbde8..66f1e2611b1d910c5bd9bdfea45aef0f46da6729 100644
(file)
--- 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);