projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bb5d2e
)
smp: Fix idle_thread_init() inline stub
author
Thomas Gleixner
<tglx@linutronix.de>
Fri, 4 May 2012 10:52:25 +0000
(12:52 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Fri, 4 May 2012 10:52:25 +0000
(12:52 +0200)
idle_thread_init() does not have arguments.
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/smpboot.h
patch
|
blob
|
history
diff --git
a/kernel/smpboot.h
b/kernel/smpboot.h
index 4cfbcb8a8362ad3ae480b824a01bf434f7e21f75..80c0acfb847211af69e9356677f45f8ea1c4c240 100644
(file)
--- a/
kernel/smpboot.h
+++ b/
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