Skip to content

Commit 43a18b1

Browse files
committed
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>
1 parent 3bb5d2e commit 43a18b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/smpboot.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ void idle_threads_init(void);
1212
#else
1313
static inline struct task_struct *idle_thread_get(unsigned int cpu) { return NULL; }
1414
static inline void idle_thread_set_boot_cpu(void) { }
15-
static inline void idle_threads_init(unsigned int cpu) { }
15+
static inline void idle_threads_init(void) { }
1616
#endif
1717

1818
#endif

0 commit comments

Comments
 (0)