Merge branches 'fixes', 'misc' and 'smp-hotplug' into for-next
[linux-2.6-block.git] / arch / arm / kernel / smp.c
index 7f0b99e1fff3663fdf9b2a0687cf29d19dfcba06..facd4240ca02c776716a2e1e14c803c359967cc8 100644 (file)
  */
 struct secondary_data secondary_data;
 
-/*
- * control for which core is the next to come out of the secondary
- * boot "holding pen"
- */
-volatile int pen_release = -1;
-
 enum ipi_msg_type {
        IPI_WAKEUP,
        IPI_TIMER,
@@ -254,7 +248,7 @@ int __cpu_disable(void)
        /*
         * OK - migrate IRQs away from this CPU
         */
-       migrate_irqs();
+       irq_migrate_all_off_this_cpu();
 
        /*
         * Flush user cache and TLB mappings, and then remove this CPU