aboutsummaryrefslogtreecommitdiffstatshomepage
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
parentsmp, idle: Allocate idle thread for each possible cpu during boot (diff)
downloadwireguard-linux-43a18b1e588d1b6a993eedd44dd3154590d9bebd.tar.xz
wireguard-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>
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