[PATCH] lockdep: clean up completion initializer in smpboot.c
[deliverable/linux.git] / arch / x86_64 / kernel / smpboot.c
index 9705a6a384f1c67c252defd24945f5546c0817d1..975380207b46c58ea1f109d8ef3b3bfe9de4cf4b 100644 (file)
@@ -771,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.031615 seconds and 5 git commands to generate.