]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/kernel/smpboot.c
hotplug: Prevent alloc/free of irq descriptors during cpu up/down (again)
[karo-tx-linux.git] / arch / x86 / kernel / smpboot.c
index 4296beb8fdd3b2d91a9644c9843d66dd2132c2ad..26b473dc3f8223ae19575bdc75a2164e00ba1801 100644 (file)
@@ -1115,17 +1115,8 @@ int native_cpu_up(unsigned int cpu, struct task_struct *tidle)
 
        common_cpu_up(cpu, tidle);
 
-       /*
-        * We have to walk the irq descriptors to setup the vector
-        * space for the cpu which comes online.  Prevent irq
-        * alloc/free across the bringup.
-        */
-       irq_lock_sparse();
-
        err = do_boot_cpu(apicid, cpu, tidle);
-
        if (err) {
-               irq_unlock_sparse();
                pr_err("do_boot_cpu failed(%d) to wakeup CPU#%u\n", err, cpu);
                return -EIO;
        }
@@ -1143,8 +1134,6 @@ int native_cpu_up(unsigned int cpu, struct task_struct *tidle)
                touch_nmi_watchdog();
        }
 
-       irq_unlock_sparse();
-
        return 0;
 }