Переглянути джерело

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>
Thomas Gleixner 13 роки тому
батько
коміт
43a18b1e58
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      kernel/smpboot.h

+ 1 - 1
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