diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-05-25 10:36:59 +0000 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-05-25 10:36:59 +0000 |
commit | 5164002e4d2da07c6143c91ba627d7523526cdef (patch) | |
tree | 9bb439e041d1c24648317d64c4531b888fac8e40 /xen/include/xen/sched-if.h | |
parent | 1d006bb23567dec6990aaf46bb3d56ebf4c1cf4f (diff) | |
download | xen-5164002e4d2da07c6143c91ba627d7523526cdef.tar.gz xen-5164002e4d2da07c6143c91ba627d7523526cdef.tar.bz2 xen-5164002e4d2da07c6143c91ba627d7523526cdef.zip |
bitkeeper revision 1.1548 (4294554btfa2GpomqV57KFpxEHsjEA)
Move to Linux's cpumask_t and 'hotplug' multi-processor booting
interfaces. This also brings apic.c and various other files closer to
their Linux 2.6 equivalents. Simplified the scheduler interfaces a
little (particularly per-cpu and idle-domain initialisation).
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/sched-if.h')
-rw-r--r-- | xen/include/xen/sched-if.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xen/include/xen/sched-if.h b/xen/include/xen/sched-if.h index 7cd5295fea..47fb6452f0 100644 --- a/xen/include/xen/sched-if.h +++ b/xen/include/xen/sched-if.h @@ -8,7 +8,6 @@ #ifndef __XEN_SCHED_IF_H__ #define __XEN_SCHED_IF_H__ -//#define ADV_SCHED_HISTO #define BUCKETS 10 /*300*/ @@ -19,11 +18,6 @@ struct schedule_data { void *sched_priv; struct ac_timer s_timer; /* scheduling timer */ unsigned long tick; /* current periodic 'tick' */ -#ifdef ADV_SCHED_HISTO - u32 to_hist[BUCKETS]; - u32 from_hist[BUCKETS]; - u64 save_tsc; -#endif #ifdef BUCKETS u32 hist[BUCKETS]; /* for scheduler latency histogram */ #endif @@ -39,8 +33,6 @@ struct scheduler { char *opt_name; /* option name for this scheduler */ unsigned int sched_id; /* ID for this scheduler */ - int (*init_scheduler) (void); - int (*init_idle_task) (struct exec_domain *); int (*alloc_task) (struct exec_domain *); void (*add_task) (struct exec_domain *); void (*free_task) (struct domain *); |