Commit 9bbbff25 authored by Thomas Gleixner's avatar Thomas Gleixner

x86: Mark low level interrupts IRQF_NO_THREAD

These cannot be threaded.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 517e4981
...@@ -71,6 +71,7 @@ static irqreturn_t math_error_irq(int cpl, void *dev_id) ...@@ -71,6 +71,7 @@ static irqreturn_t math_error_irq(int cpl, void *dev_id)
static struct irqaction fpu_irq = { static struct irqaction fpu_irq = {
.handler = math_error_irq, .handler = math_error_irq,
.name = "fpu", .name = "fpu",
.flags = IRQF_NO_THREAD,
}; };
#endif #endif
...@@ -80,6 +81,7 @@ static struct irqaction fpu_irq = { ...@@ -80,6 +81,7 @@ static struct irqaction fpu_irq = {
static struct irqaction irq2 = { static struct irqaction irq2 = {
.handler = no_action, .handler = no_action,
.name = "cascade", .name = "cascade",
.flags = IRQF_NO_THREAD,
}; };
DEFINE_PER_CPU(vector_irq_t, vector_irq) = { DEFINE_PER_CPU(vector_irq_t, vector_irq) = {
......
...@@ -569,11 +569,13 @@ static irqreturn_t piix4_master_intr(int irq, void *dev_id) ...@@ -569,11 +569,13 @@ static irqreturn_t piix4_master_intr(int irq, void *dev_id)
static struct irqaction master_action = { static struct irqaction master_action = {
.handler = piix4_master_intr, .handler = piix4_master_intr,
.name = "PIIX4-8259", .name = "PIIX4-8259",
.flags = IRQF_NO_THREAD,
}; };
static struct irqaction cascade_action = { static struct irqaction cascade_action = {
.handler = no_action, .handler = no_action,
.name = "cascade", .name = "cascade",
.flags = IRQF_NO_THREAD,
}; };
static inline void set_piix4_virtual_irq_type(void) static inline void set_piix4_virtual_irq_type(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment