kgdb: Remove irq flags from roundup
[sfrench/cifs-2.6.git] / arch / x86 / kernel / kgdb.c
index 8e36f249646e25d20bc2bcc04b7a0ccc292e498c..ac6291a4178d9387d6c324f928e0b574665bccd2 100644 (file)
@@ -422,21 +422,16 @@ static void kgdb_disable_hw_debug(struct pt_regs *regs)
 #ifdef CONFIG_SMP
 /**
  *     kgdb_roundup_cpus - Get other CPUs into a holding pattern
- *     @flags: Current IRQ state
  *
  *     On SMP systems, we need to get the attention of the other CPUs
  *     and get them be in a known state.  This should do what is needed
  *     to get the other CPUs to call kgdb_wait(). Note that on some arches,
  *     the NMI approach is not used for rounding up all the CPUs. For example,
- *     in case of MIPS, smp_call_function() is used to roundup CPUs. In
- *     this case, we have to make sure that interrupts are enabled before
- *     calling smp_call_function(). The argument to this function is
- *     the flags that will be used when restoring the interrupts. There is
- *     local_irq_save() call before kgdb_roundup_cpus().
+ *     in case of MIPS, smp_call_function() is used to roundup CPUs.
  *
  *     On non-SMP systems, this is not called.
  */
-void kgdb_roundup_cpus(unsigned long flags)
+void kgdb_roundup_cpus(void)
 {
        apic->send_IPI_allbutself(APIC_DM_NMI);
 }