]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
s390/smp: get rid of generic_smp_call_function_interrupt
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 21 May 2013 13:34:56 +0000 (15:34 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 22 May 2013 07:46:02 +0000 (09:46 +0200)
Since 9a46ad6d6 "smp: make smp_call_function_many() use logic similar
to smp_call_function_single()" generic_smp_call_function_interrupt()
is only an alias to generic_smp_call_function_single_interrupt().

So remove the superfluous variant.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/smp.c

index 05674b6690019012f3acdbb86ea5325616df9f76..47451bba886e93c1ca9bc35895a1b97a63eac636 100644 (file)
@@ -49,7 +49,6 @@
 
 enum {
        ec_schedule = 0,
-       ec_call_function,
        ec_call_function_single,
        ec_stop_cpu,
 };
@@ -450,9 +449,6 @@ static void do_ext_call_interrupt(struct ext_code ext_code,
        if (test_bit(ec_schedule, &bits))
                scheduler_ipi();
 
-       if (test_bit(ec_call_function, &bits))
-               generic_smp_call_function_interrupt();
-
        if (test_bit(ec_call_function_single, &bits))
                generic_smp_call_function_single_interrupt();
 
@@ -463,7 +459,7 @@ void arch_send_call_function_ipi_mask(const struct cpumask *mask)
        int cpu;
 
        for_each_cpu(cpu, mask)
-               pcpu_ec_call(pcpu_devices + cpu, ec_call_function);
+               pcpu_ec_call(pcpu_devices + cpu, ec_call_function_single);
 }
 
 void arch_send_call_function_single_ipi(int cpu)