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, 26 Jun 2013 19:10:01 +0000 (21:10 +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 4f977d0d25c2d1b1af674314a0b3da263d602b5a..15a016c1056392969bf84af7d4c1afe34aace480 100644 (file)
@@ -49,7 +49,6 @@
 
 enum {
        ec_schedule = 0,
-       ec_call_function,
        ec_call_function_single,
        ec_stop_cpu,
 };
@@ -438,8 +437,6 @@ static void smp_handle_ext_call(void)
                smp_stop_cpu();
        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();
 }
@@ -456,7 +453,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)