Skip to content

Commit

Permalink
smp: Fix idle_thread_init() inline stub
Browse files Browse the repository at this point in the history
idle_thread_init() does not have arguments.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed May 4, 2012
1 parent 3bb5d2e commit 43a18b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/smpboot.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 43a18b1

Please sign in to comment.