aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/sched_litmus.c
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2011-08-27 10:10:06 -0400
committerAndrea Bastoni <bastoni@cs.unc.edu>2011-08-27 10:10:06 -0400
commit56c5c609615322bfbda5adff94ce011eb3d28fef (patch)
treef61445270fb922af8c9b14487c65f95c282a9356 /litmus/sched_litmus.c
parent7b1bb388bc879ffcc6c69b567816d5c354afe42b (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.c8
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
255static void switched_to_litmus(struct rq *rq, struct task_struct *p, int running) 255static void switched_to_litmus(struct rq *rq, struct task_struct *p)
256{ 256{
257} 257}
258 258
259static void prio_changed_litmus(struct rq *rq, struct task_struct *p, 259static 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 */
286static int select_task_rq_litmus(struct rq *rq, struct task_struct *p, 286static int
287 int sd_flag, int flags) 287select_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