aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/sched-if.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-05-17 18:52:01 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-05-17 18:52:01 +0100
commit2dfb040b49b03bfd89dd9c1546ced454096f18f7 (patch)
treeb394b3bc7ec8e1c28f02ae4593eef0d4609ec257 /xen/include/xen/sched-if.h
parent833b878fc55e58bdc6345804c33e09ffa942abf2 (diff)
downloadxen-2dfb040b49b03bfd89dd9c1546ced454096f18f7.tar.gz
xen-2dfb040b49b03bfd89dd9c1546ced454096f18f7.tar.bz2
xen-2dfb040b49b03bfd89dd9c1546ced454096f18f7.zip
cpupool: Fix CPU hotplug after recent changes.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/xen/sched-if.h')
-rw-r--r--xen/include/xen/sched-if.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/include/xen/sched-if.h b/xen/include/xen/sched-if.h
index af21e95e8f..c6ed8ba1b9 100644
--- a/xen/include/xen/sched-if.h
+++ b/xen/include/xen/sched-if.h
@@ -89,7 +89,7 @@ struct scheduler {
unsigned int sched_id; /* ID for this scheduler */
void *sched_data; /* global data pointer */
- int (*init) (struct scheduler *, int);
+ int (*init) (struct scheduler *);
void (*deinit) (const struct scheduler *);
void (*free_vdata) (const struct scheduler *, void *);
@@ -131,7 +131,7 @@ struct cpupool
cpumask_t cpu_valid; /* all cpus assigned to pool */
struct cpupool *next;
unsigned int n_dom;
- struct scheduler sched;
+ struct scheduler *sched;
};
const struct scheduler *scheduler_get_by_id(unsigned int id);