hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/kernel/smp.c
....@@ -451,18 +451,8 @@
451451
452452 local_irq_save(flags);
453453 flush_smp_call_function_queue(true);
454
-
455
- if (local_softirq_pending()) {
456
-
457
- if (!IS_ENABLED(CONFIG_PREEMPT_RT)) {
458
- do_softirq();
459
- } else {
460
- struct task_struct *ksoftirqd = this_cpu_ksoftirqd();
461
-
462
- if (ksoftirqd && ksoftirqd->state != TASK_RUNNING)
463
- wake_up_process(ksoftirqd);
464
- }
465
- }
454
+ if (local_softirq_pending())
455
+ do_softirq();
466456
467457 local_irq_restore(flags);
468458 }