diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-05-04 12:52:25 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-05-04 12:52:25 +0200 |
commit | 43a18b1e588d1b6a993eedd44dd3154590d9bebd (patch) | |
tree | 79a45408b8467881ef08d7734732af8d954a50ad | |
parent | 3bb5d2ee396aabaa4e318f17e94d13e2ee0e5a88 (diff) | |
download | linux-43a18b1e588d1b6a993eedd44dd3154590d9bebd.tar.gz linux-43a18b1e588d1b6a993eedd44dd3154590d9bebd.tar.bz2 linux-43a18b1e588d1b6a993eedd44dd3154590d9bebd.zip |
smp: Fix idle_thread_init() inline stub
idle_thread_init() does not have arguments.
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | kernel/smpboot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/smpboot.h b/kernel/smpboot.h index 4cfbcb8a8362..80c0acfb8472 100644 --- a/kernel/smpboot.h +++ b/kernel/smpboot.h @@ -12,7 +12,7 @@ void idle_threads_init(void); #else static inline struct task_struct *idle_thread_get(unsigned int cpu) { return NULL; } static inline void idle_thread_set_boot_cpu(void) { } -static inline void idle_threads_init(unsigned int cpu) { } +static inline void idle_threads_init(void) { } #endif #endif |