Преглед на файлове

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