diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2011-08-27 10:10:06 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2011-08-27 10:10:06 -0400 |
commit | 56c5c609615322bfbda5adff94ce011eb3d28fef (patch) | |
tree | f61445270fb922af8c9b14487c65f95c282a9356 /litmus/sched_litmus.c | |
parent | 7b1bb388bc879ffcc6c69b567816d5c354afe42b (diff) |
Fix prototype mismatching and synch syscall numbers
* Update prototypes for switched_to(), prio_changed(), select_task_rq().
* Fix missing pid field in printk output.
* Synchronize syscall numbers for arm and x86.
Diffstat (limited to 'litmus/sched_litmus.c')
-rw-r--r-- | litmus/sched_litmus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/litmus/sched_litmus.c b/litmus/sched_litmus.c index cb705e7f0466..5a15ce938984 100644 --- a/litmus/sched_litmus.c +++ b/litmus/sched_litmus.c | |||
@@ -252,12 +252,12 @@ static void task_tick_litmus(struct rq *rq, struct task_struct *p, int queued) | |||
252 | return; | 252 | return; |
253 | } | 253 | } |
254 | 254 | ||
255 | static void switched_to_litmus(struct rq *rq, struct task_struct *p, int running) | 255 | static void switched_to_litmus(struct rq *rq, struct task_struct *p) |
256 | { | 256 | { |
257 | } | 257 | } |
258 | 258 | ||
259 | static void prio_changed_litmus(struct rq *rq, struct task_struct *p, | 259 | static void prio_changed_litmus(struct rq *rq, struct task_struct *p, |
260 | int oldprio, int running) | 260 | int oldprio) |
261 | { | 261 | { |
262 | } | 262 | } |
263 | 263 | ||
@@ -283,8 +283,8 @@ static void set_curr_task_litmus(struct rq *rq) | |||
283 | * We don't care about the scheduling domain; can gets called from | 283 | * We don't care about the scheduling domain; can gets called from |
284 | * exec, fork, wakeup. | 284 | * exec, fork, wakeup. |
285 | */ | 285 | */ |
286 | static int select_task_rq_litmus(struct rq *rq, struct task_struct *p, | 286 | static int |
287 | int sd_flag, int flags) | 287 | select_task_rq_litmus(struct task_struct *p, int sd_flag, int flags) |
288 | { | 288 | { |
289 | /* preemption is already disabled. | 289 | /* preemption is already disabled. |
290 | * We don't want to change cpu here | 290 | * We don't want to change cpu here |