aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/sched-if.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2011-04-02 15:57:03 +0100
committerJan Beulich <jbeulich@novell.com>2011-04-02 15:57:03 +0100
commitd5298187b30d5806deda9088828fd29cad9237da (patch)
treed5306b6c7072fe95344f05751966a2ff60cf8abb /xen/include/xen/sched-if.h
parent06490f43250dddc40b4aaf0ff4995991f94e170a (diff)
downloadxen-d5298187b30d5806deda9088828fd29cad9237da.tar.gz
xen-d5298187b30d5806deda9088828fd29cad9237da.tar.bz2
xen-d5298187b30d5806deda9088828fd29cad9237da.zip
move register_cpu_notifier() into .init.text
With no modular drivers, all CPU notifier setup is supposed to happen during boot. There also is a respective comment in the function.=20 Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/xen/sched-if.h')
-rw-r--r--xen/include/xen/sched-if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/xen/sched-if.h b/xen/include/xen/sched-if.h
index e8f0262a6b..486b9fd704 100644
--- a/xen/include/xen/sched-if.h
+++ b/xen/include/xen/sched-if.h
@@ -141,6 +141,8 @@ struct scheduler {
unsigned int sched_id; /* ID for this scheduler */
void *sched_data; /* global data pointer */
+ int (*global_init) (void);
+
int (*init) (struct scheduler *);
void (*deinit) (const struct scheduler *);