Commit 43a18b1e authored by Thomas Gleixner's avatar Thomas Gleixner

smp: Fix idle_thread_init() inline stub

idle_thread_init() does not have arguments.
Reported-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 3bb5d2ee
...@@ -12,7 +12,7 @@ void idle_threads_init(void); ...@@ -12,7 +12,7 @@ void idle_threads_init(void);
#else #else
static inline struct task_struct *idle_thread_get(unsigned int cpu) { return NULL; } 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_thread_set_boot_cpu(void) { }
static inline void idle_threads_init(unsigned int cpu) { } static inline void idle_threads_init(void) { }
#endif #endif
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment