diff options
| author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-02-02 12:59:13 -0500 |
|---|---|---|
| committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-02-02 12:59:13 -0500 |
| commit | 4fc10fcc4f4fc5758b1df9d2c9935a2a963e1510 (patch) | |
| tree | 1993287e0fffc2953252792a3d60c5a56c01ed8e /include | |
| parent | f2d65d2183cdb65f2d716760d9a527837bff44ce (diff) | |
litmus: get rid of WANT_RESCHED and make dummy functions static
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/sched_plugin.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/include/linux/sched_plugin.h b/include/linux/sched_plugin.h index 6bc2fc3788..1fcc9d558b 100644 --- a/include/linux/sched_plugin.h +++ b/include/linux/sched_plugin.h | |||
| @@ -34,14 +34,8 @@ typedef void runqueue_t; | |||
| 34 | 34 | ||
| 35 | /********************* scheduler invocation ******************/ | 35 | /********************* scheduler invocation ******************/ |
| 36 | 36 | ||
| 37 | typedef enum { | ||
| 38 | NO_RESCHED = 0, | ||
| 39 | FORCE_RESCHED = 1 | ||
| 40 | } reschedule_check_t; | ||
| 41 | |||
| 42 | |||
| 43 | /* Plugin-specific realtime tick handler */ | 37 | /* Plugin-specific realtime tick handler */ |
| 44 | typedef reschedule_check_t (*scheduler_tick_t) (void); | 38 | typedef void (*scheduler_tick_t) (void); |
| 45 | /* Novell make sched decision function */ | 39 | /* Novell make sched decision function */ |
| 46 | typedef int (*schedule_t) (struct task_struct * prev, | 40 | typedef int (*schedule_t) (struct task_struct * prev, |
| 47 | struct task_struct ** next, | 41 | struct task_struct ** next, |
| @@ -114,11 +108,6 @@ struct sched_plugin { | |||
| 114 | 108 | ||
| 115 | extern struct sched_plugin *curr_sched_plugin; | 109 | extern struct sched_plugin *curr_sched_plugin; |
| 116 | 110 | ||
| 117 | |||
| 118 | /* common scheduler tick */ | ||
| 119 | reschedule_check_t rt_scheduler_tick(void); | ||
| 120 | |||
| 121 | |||
| 122 | /* Don't pull in our definitions on top of the real ones | 111 | /* Don't pull in our definitions on top of the real ones |
| 123 | * in sched.c! | 112 | * in sched.c! |
| 124 | */ | 113 | */ |
