diff options
| author | Andrew Morton <akpm@osdl.org> | 2005-01-08 00:06:16 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-01-08 00:06:16 -0800 |
| commit | 163e5d99b1e991e69c37d49c58577dc11a027c3e (patch) | |
| tree | b4b6648575677b95f2b62b4ba5241154ec266778 /include/linux | |
| parent | bd62539801973189df835fff3d26069a9747ab4d (diff) | |
[PATCH] Fix ppc64 !HOTPLUG_CPU build
idle_task_exit() only exists when CONFIG_HOTPLUG_CPU is enabled
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 97203a485401..3c2c63f23a4a 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -752,8 +752,13 @@ extern void sched_exec(void); #define sched_exec() {} #endif -extern void sched_idle_next(void); +#ifdef CONFIG_HOTPLUG_CPU 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 int task_prio(const task_t *p); extern int task_nice(const task_t *p); |
