summaryrefslogtreecommitdiff
path: root/kernel/smpboot.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-05-04 12:52:25 +0200
committerThomas Gleixner <tglx@linutronix.de>2012-05-04 12:52:25 +0200
commit43a18b1e588d1b6a993eedd44dd3154590d9bebd (patch)
tree79a45408b8467881ef08d7734732af8d954a50ad /kernel/smpboot.h
parent3bb5d2ee396aabaa4e318f17e94d13e2ee0e5a88 (diff)
downloadlinux-rt-43a18b1e588d1b6a993eedd44dd3154590d9bebd.tar.gz
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>
Diffstat (limited to 'kernel/smpboot.h')
-rw-r--r--kernel/smpboot.h2
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