提交 43a18b1e 编写于 作者: T Thomas Gleixner

smp: Fix idle_thread_init() inline stub

idle_thread_init() does not have arguments.
Reported-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册