Quantcast
Channel: lkml.org : Pallipadi, Venkatesh
Viewing all articles
Browse latest Browse all 864

[PATCH 4/5] powerpc: Use common fork_idle_from_wq in smpboot

$
0
0
Venkatesh Pallipadi writes: (Summary) 63 +++++--------------------------------------- 1 files changed, 8 insertions(+), 55 deletions(-)
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index 46695fe..3b9705d 100644
--- a/arch/powerpc/kernel/smp.c
+++ b/arch/powerpc/kernel/smp.c
@@ -57,27 +57,11 @@
 #define DBG(fmt...)
 #endif
 
-
-/* Store all idle threads, this can be reused instead of creating
-* a new thread.
- struct create_idle c_idle = {
-  .cpu = cpu,
-  .done = COMPLETION_INITIALIZER_ONSTACK(c_idle.done),
- };
-  */
- if (!c_idle.idle) {
-  schedule_work(&c_idle.work);

Viewing all articles
Browse latest Browse all 864

Trending Articles