[PATCH] lockdep: clean up completion initializer in smpboot.c
[deliverable/linux.git] / arch / x86_64 / kernel / smpboot.c
index 540c0ccbcccc8953c95ee6b6c2baf5ad11e44aaf..975380207b46c58ea1f109d8ef3b3bfe9de4cf4b 100644 (file)
@@ -38,7 +38,6 @@
  */
 
 
-#include <linux/config.h>
 #include <linux/init.h>
 
 #include <linux/mm.h>
@@ -772,7 +771,7 @@ static int __cpuinit do_boot_cpu(int cpu, int apicid)
        unsigned long start_rip;
        struct create_idle c_idle = {
                .cpu = cpu,
-               .done = COMPLETION_INITIALIZER(c_idle.done),
+               .done = COMPLETION_INITIALIZER_ONSTACK(c_idle.done),
        };
        DECLARE_WORK(work, do_fork_idle, &c_idle);
 
This page took 0.029661 seconds and 5 git commands to generate.