diff options
author | gm281@boulderdash.cl.cam.ac.uk <gm281@boulderdash.cl.cam.ac.uk> | 2004-07-29 12:50:01 +0000 |
---|---|---|
committer | gm281@boulderdash.cl.cam.ac.uk <gm281@boulderdash.cl.cam.ac.uk> | 2004-07-29 12:50:01 +0000 |
commit | 5e7d42e1f518b2b60695c0d86de02ae08e601b82 (patch) | |
tree | 3cce55698c3da309ad02bb9817504c2cff4f9f79 /xen/include/xen/sched-if.h | |
parent | 4b7df0e61ad566c8413f29d562477b583ba70ee1 (diff) | |
download | xen-5e7d42e1f518b2b60695c0d86de02ae08e601b82.tar.gz xen-5e7d42e1f518b2b60695c0d86de02ae08e601b82.tar.bz2 xen-5e7d42e1f518b2b60695c0d86de02ae08e601b82.zip |
bitkeeper revision 1.1108.36.1 (4108f279nPgkLZARXvnqXNBEsFkj4Q)
The runqueue management functions removed from sched-if.h and put into schedulers
Diffstat (limited to 'xen/include/xen/sched-if.h')
-rw-r--r-- | xen/include/xen/sched-if.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/xen/include/xen/sched-if.h b/xen/include/xen/sched-if.h index ad1448b756..15f992614a 100644 --- a/xen/include/xen/sched-if.h +++ b/xen/include/xen/sched-if.h @@ -56,28 +56,4 @@ struct scheduler /* per CPU scheduler information */ extern schedule_data_t schedule_data[]; -/* - * Wrappers for run-queue management. Must be called with the schedule_lock - * held. - */ -static inline void __add_to_runqueue_head(struct list_head *run_list, struct list_head *runqueue) -{ - list_add(run_list, runqueue); -} - -static inline void __add_to_runqueue_tail(struct list_head *run_list, struct list_head *runqueue) -{ - list_add_tail(run_list, runqueue); -} - -static inline void __del_from_runqueue(struct list_head *run_list) -{ - list_del(run_list); - run_list->next = NULL; -} - -static inline int __task_on_runqueue(struct list_head *run_list) -{ - return run_list->next != NULL; -} |