Skip to content

Commit 528d8eb

Browse files
Jiang Liuhdeller
authored andcommitted
parisc: kill SMP single function call interrupt
Commit 9a46ad6 "smp: make smp_call_function_many() use logic similar to smp_call_function_single()" has unified the way to handle single and multiple cross-CPU function calls. Now only one interrupt is needed for architecture specific code to support generic SMP function call interfaces, so kill the redundant single function call interrupt. Signed-off-by: Jiang Liu <[email protected]> Cc: Jiang Liu <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent 320c90b commit 528d8eb

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

arch/parisc/kernel/smp.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ enum ipi_message_type {
7272
IPI_NOP=0,
7373
IPI_RESCHEDULE=1,
7474
IPI_CALL_FUNC,
75-
IPI_CALL_FUNC_SINGLE,
7675
IPI_CPU_START,
7776
IPI_CPU_STOP,
7877
IPI_CPU_TEST
@@ -164,11 +163,6 @@ ipi_interrupt(int irq, void *dev_id)
164163
generic_smp_call_function_interrupt();
165164
break;
166165

167-
case IPI_CALL_FUNC_SINGLE:
168-
smp_debug(100, KERN_DEBUG "CPU%d IPI_CALL_FUNC_SINGLE\n", this_cpu);
169-
generic_smp_call_function_single_interrupt();
170-
break;
171-
172166
case IPI_CPU_START:
173167
smp_debug(100, KERN_DEBUG "CPU%d IPI_CPU_START\n", this_cpu);
174168
break;
@@ -260,7 +254,7 @@ void arch_send_call_function_ipi_mask(const struct cpumask *mask)
260254

261255
void arch_send_call_function_single_ipi(int cpu)
262256
{
263-
send_IPI_single(cpu, IPI_CALL_FUNC_SINGLE);
257+
send_IPI_single(cpu, IPI_CALL_FUNC);
264258
}
265259

266260
/*

0 commit comments

Comments
 (0)