|
@@ -1258,13 +1258,6 @@ static inline int set_cpus_allowed_ptr(struct task_struct *p,
|
|
|
#define cpu_relax_yield() cpu_relax()
|
|
|
#endif
|
|
|
|
|
|
-/* sched_exec is called by processes performing an exec */
|
|
|
-#ifdef CONFIG_SMP
|
|
|
-extern void sched_exec(void);
|
|
|
-#else
|
|
|
-#define sched_exec() {}
|
|
|
-#endif
|
|
|
-
|
|
|
extern int yield_to(struct task_struct *p, bool preempt);
|
|
|
extern void set_user_nice(struct task_struct *p, long nice);
|
|
|
extern int task_prio(const struct task_struct *p);
|