From: Thomas Gleixner Date: Fri, 4 May 2012 10:52:25 +0000 (+0200) Subject: smp: Fix idle_thread_init() inline stub X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=43a18b1e588d1b6a993eedd44dd3154590d9bebd;p=linux-beck.git smp: Fix idle_thread_init() inline stub idle_thread_init() does not have arguments. Reported-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- 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