Skip to content

Commit eb54113

Browse files
author
Marc Zyngier
committed
MIPS: loongson64: Drop call to irq_cpu_offline()
Also loongson64 calls irq_cpu_offline(), none of its interrupt controllers implement the .irq_cpu_offline callback. It is thus obvious that this call only serves the dubious purpose of wasting precious CPU cycles by iterating over all interrupts. Get rid of the call altogether. Signed-off-by: Marc Zyngier <[email protected]> Acked-by: Thomas Bogendoerfer <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Tested-by: Serge Semin <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent bf8bde4 commit eb54113

File tree

1 file changed

+0
-1
lines changed
  • arch/mips/loongson64

1 file changed

+0
-1
lines changed

arch/mips/loongson64/smp.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,6 @@ static int loongson3_cpu_disable(void)
550550
set_cpu_online(cpu, false);
551551
calculate_cpu_foreign_map();
552552
local_irq_save(flags);
553-
irq_cpu_offline();
554553
clear_c0_status(ST0_IM);
555554
local_irq_restore(flags);
556555
local_flush_tlb_all();

0 commit comments

Comments
 (0)