patch-5.15.79-rt54.patch
[platform/kernel/linux-rpi.git] / arch / sh / kernel / irq.c
index ef0f082..2d3eca8 100644 (file)
@@ -149,6 +149,7 @@ void irq_ctx_exit(int cpu)
        hardirq_ctx[cpu] = NULL;
 }
 
+#ifndef CONFIG_PREEMPT_RT
 void do_softirq_own_stack(void)
 {
        struct thread_info *curctx;
@@ -176,6 +177,7 @@ void do_softirq_own_stack(void)
                  "r5", "r6", "r7", "r8", "r9", "r15", "t", "pr"
        );
 }
+#endif
 #else
 static inline void handle_one_irq(unsigned int irq)
 {