]> xenbits.xensource.com Git - xen.git/commit
xen: Some code motion to avoid having to do forward-declaration
authorGeorge Dunlap <george.dunlap@citrix.com>
Mon, 25 Jul 2016 11:09:52 +0000 (12:09 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Tue, 26 Jul 2016 09:42:21 +0000 (10:42 +0100)
commit4f9ab4330ece38382dc01a8df84b208af515d66a
tree8e54eb5d66b095907f205edf27314d0391ab9d9f
parent63ef2203729c6d756722496b7445bcc1a40b19b1
xen: Some code motion to avoid having to do forward-declaration

For sched_credit2, move the vcpu insert / remove / free functions near the domain
insert / remove / alloc / free functions (and after cpu_pick).

For sched_rt, move rt_cpu_pick() further up.

This is pure code motion; no functional change.

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
Reviewed-by: Meng Xu <mengxu@cis.upenn.edu>​
Acked-by: Dario Faggioli <dario.faggioli@citrix.com>
xen/common/sched_credit2.c
xen/common/sched_rt.c