Commit 163e5d99 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix ppc64 !HOTPLUG_CPU build

idle_task_exit() only exists when CONFIG_HOTPLUG_CPU is enabled
parent bd625398
...@@ -752,8 +752,13 @@ extern void sched_exec(void); ...@@ -752,8 +752,13 @@ extern void sched_exec(void);
#define sched_exec() {} #define sched_exec() {}
#endif #endif
extern void sched_idle_next(void); #ifdef CONFIG_HOTPLUG_CPU
extern void idle_task_exit(void); extern void idle_task_exit(void);
#else
static inline void idle_task_exit(void) {}
#endif
extern void sched_idle_next(void);
extern void set_user_nice(task_t *p, long nice); extern void set_user_nice(task_t *p, long nice);
extern int task_prio(const task_t *p); extern int task_prio(const task_t *p);
extern int task_nice(const task_t *p); extern int task_nice(const task_t *p);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment