author: Thomas Gleixner <tglx@linutronix.de> 2021-09-24 17:05:48 +0200
committer: Minda Chen <minda.chen@starfivetech.com> 2023-11-06 19:24:49 +0800
commit: 346b840b6cf5bd676f37110d18602ceee8c09ee6
parent: 1bd9479c50b6cb6c590dc8ddcc469cd2b7bd3b5d
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/kernel/irq_64.c b/arch/sparc/kernel/irq_64.c
index c8848bb681a1..41fa1be980a3 100644
--- a/arch/sparc/kernel/irq_64.c
+++ b/arch/sparc/kernel/irq_64.c
@@ -855,6 +855,7 @@ void __irq_entry handler_irq(int pil, struct pt_regs *regs)
set_irq_regs(old_regs);
}
+#ifndef CONFIG_PREEMPT_RT
void do_softirq_own_stack(void)
{
void *orig_sp, *sp = softirq_stack[smp_processor_id()];
@@ -869,6 +870,7 @@ void do_softirq_own_stack(void)
__asm__ __volatile__("mov %0, %%sp"
: : "r" (orig_sp));
}
+#endif
#ifdef CONFIG_HOTPLUG_CPU
void fixup_irqs(void)