sched: Make sched_param argument static in sched_setscheduler() callers
[deliverable/linux.git] / include / linux / sched.h
index 0383601a927c48fa6ccba55de8ebf347573ef8ea..849c8670583d4aa8ea1cbd920b9ba8ab976c515f 100644 (file)
@@ -1942,9 +1942,10 @@ extern int task_nice(const struct task_struct *p);
 extern int can_nice(const struct task_struct *p, const int nice);
 extern int task_curr(const struct task_struct *p);
 extern int idle_cpu(int cpu);
-extern int sched_setscheduler(struct task_struct *, int, struct sched_param *);
+extern int sched_setscheduler(struct task_struct *, int,
+                             const struct sched_param *);
 extern int sched_setscheduler_nocheck(struct task_struct *, int,
-                                     struct sched_param *);
+                                     const struct sched_param *);
 extern struct task_struct *idle_task(int cpu);
 extern struct task_struct *curr_task(int cpu);
 extern void set_curr_task(int cpu, struct task_struct *p);
This page took 0.053075 seconds and 5 git commands to generate.