]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - kernel/sched_stoptask.c
md: fix up raid1/raid10 unplugging.
[mv-sheeva.git] / kernel / sched_stoptask.c
index 2bf6b47058c19f79a326a6b4f82d4baf7950cb1a..1ba2bd40fdacf3f89e0b71f0f8c1020c0151a05c 100644 (file)
@@ -59,14 +59,13 @@ static void set_curr_task_stop(struct rq *rq)
 {
 }
 
-static void switched_to_stop(struct rq *rq, struct task_struct *p,
-                            int running)
+static void switched_to_stop(struct rq *rq, struct task_struct *p)
 {
        BUG(); /* its impossible to change to this class */
 }
 
-static void prio_changed_stop(struct rq *rq, struct task_struct *p,
-                             int oldprio, int running)
+static void
+prio_changed_stop(struct rq *rq, struct task_struct *p, int oldprio)
 {
        BUG(); /* how!?, what priority? */
 }
@@ -103,6 +102,4 @@ static const struct sched_class stop_sched_class = {
 
        .prio_changed           = prio_changed_stop,
        .switched_to            = switched_to_stop,
-
-       /* no .task_new for stop tasks */
 };