hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/kernel/irq/spurious.c
....@@ -442,6 +442,10 @@
442442
443443 static int __init irqfixup_setup(char *str)
444444 {
445
+#ifdef CONFIG_PREEMPT_RT_BASE
446
+ pr_warn("irqfixup boot option not supported w/ CONFIG_PREEMPT_RT_BASE\n");
447
+ return 1;
448
+#endif
445449 irqfixup = 1;
446450 printk(KERN_WARNING "Misrouted IRQ fixup support enabled.\n");
447451 printk(KERN_WARNING "This may impact system performance.\n");
....@@ -454,6 +458,10 @@
454458
455459 static int __init irqpoll_setup(char *str)
456460 {
461
+#ifdef CONFIG_PREEMPT_RT_BASE
462
+ pr_warn("irqpoll boot option not supported w/ CONFIG_PREEMPT_RT_BASE\n");
463
+ return 1;
464
+#endif
457465 irqfixup = 2;
458466 printk(KERN_WARNING "Misrouted IRQ fixup and polling support "
459467 "enabled\n");