aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/irqinit.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-01-27 18:17:01 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-03-12 14:12:01 +0100
commit9bbbff25b31bbfdb512563cc5a14bcde5bf29bdf (patch)
treef82bb5b2e451a1750c816ce095e9bbaf2ebfe6d1 /arch/x86/kernel/irqinit.c
parent517e49815677b43b26d3167aadca83919ef36a45 (diff)
x86: Mark low level interrupts IRQF_NO_THREAD
These cannot be threaded. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/irqinit.c')
-rw-r--r--arch/x86/kernel/irqinit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/irqinit.c b/arch/x86/kernel/irqinit.c
index 3dd751ce6cc..1cc302d16fb 100644
--- a/arch/x86/kernel/irqinit.c
+++ b/arch/x86/kernel/irqinit.c
@@ -71,6 +71,7 @@ static irqreturn_t math_error_irq(int cpl, void *dev_id)
static struct irqaction fpu_irq = {
.handler = math_error_irq,
.name = "fpu",
+ .flags = IRQF_NO_THREAD,
};
#endif
@@ -80,6 +81,7 @@ static struct irqaction fpu_irq = {
static struct irqaction irq2 = {
.handler = no_action,
.name = "cascade",
+ .flags = IRQF_NO_THREAD,
};
DEFINE_PER_CPU(vector_irq_t, vector_irq) = {