mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-30 14:10:57 +00:00
38 lines
1.0 KiB
Diff
38 lines
1.0 KiB
Diff
From: Ingo Molnar <mingo@elte.hu>
|
|
Date: Fri, 3 Jul 2009 08:29:57 -0500
|
|
Subject: genirq: Disable irqpoll on -rt
|
|
|
|
Creates long latencies for no value
|
|
|
|
Signed-off-by: Ingo Molnar <mingo@elte.hu>
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
---
|
|
kernel/irq/spurious.c | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
--- a/kernel/irq/spurious.c
|
|
+++ b/kernel/irq/spurious.c
|
|
@@ -443,6 +443,10 @@ MODULE_PARM_DESC(noirqdebug, "Disable ir
|
|
|
|
static int __init irqfixup_setup(char *str)
|
|
{
|
|
+#ifdef CONFIG_PREEMPT_RT
|
|
+ pr_warn("irqfixup boot option not supported w/ CONFIG_PREEMPT_RT\n");
|
|
+ return 1;
|
|
+#endif
|
|
irqfixup = 1;
|
|
printk(KERN_WARNING "Misrouted IRQ fixup support enabled.\n");
|
|
printk(KERN_WARNING "This may impact system performance.\n");
|
|
@@ -455,6 +459,10 @@ module_param(irqfixup, int, 0644);
|
|
|
|
static int __init irqpoll_setup(char *str)
|
|
{
|
|
+#ifdef CONFIG_PREEMPT_RT
|
|
+ pr_warn("irqpoll boot option not supported w/ CONFIG_PREEMPT_RT\n");
|
|
+ return 1;
|
|
+#endif
|
|
irqfixup = 2;
|
|
printk(KERN_WARNING "Misrouted IRQ fixup and polling support "
|
|
"enabled\n");
|