diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2021-10-20 11:48:47 -0700 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-10-20 20:06:32 +0100 |
commit | bf8bde41d296849fd5f9db8becd71ad4e84bc521 (patch) | |
tree | 0ee46d634b5b1e70b9d3f17fc2532ec5e6b7b885 /arch/mips/kernel | |
parent | dfd8c90eb28b8f7c77ce7173c4bae591b26ea51a (diff) | |
download | linux-stable-bf8bde41d296849fd5f9db8becd71ad4e84bc521.tar.gz linux-stable-bf8bde41d296849fd5f9db8becd71ad4e84bc521.tar.bz2 linux-stable-bf8bde41d296849fd5f9db8becd71ad4e84bc521.zip |
MIPS: BMIPS: Remove use of irq_cpu_offline
irq_cpu_offline() is only used by MIPS and we should instead use
irq_migrate_all_off_this_cpu(). This will be helpful in order to remove
drivers/irqchip/irq-bcm7038-l1.c irq_cpu_offline callback which would
have got in the way of making this driver modular.
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211020184859.2705451-2-f.fainelli@gmail.com
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/smp-bmips.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/kernel/smp-bmips.c b/arch/mips/kernel/smp-bmips.c index b6ef5f7312cf..f5d7bfa3472a 100644 --- a/arch/mips/kernel/smp-bmips.c +++ b/arch/mips/kernel/smp-bmips.c @@ -26,6 +26,7 @@ #include <linux/bug.h> #include <linux/kernel.h> #include <linux/kexec.h> +#include <linux/irq.h> #include <asm/time.h> #include <asm/processor.h> @@ -373,7 +374,7 @@ static int bmips_cpu_disable(void) set_cpu_online(cpu, false); calculate_cpu_foreign_map(); - irq_cpu_offline(); + irq_migrate_all_off_this_cpu(); clear_c0_status(IE_IRQ5); local_flush_tlb_all(); |