diff options
| author | Tejun Heo <tj@kernel.org> | 2013-01-23 09:31:01 -0800 | 
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2013-01-23 09:31:01 -0800 | 
| commit | c14afb82ffff5903a701a9fb737ac20f36d1f755 (patch) | |
| tree | 304dcc7b1d7b9a5f564f7e978228e61ef41fbef2 /arch/x86/kernel/irqinit.c | |
| parent | 0fdff3ec6d87856cdcc99e69cf42143fdd6c56b4 (diff) | |
| parent | 1d8549085377674224bf30a368284c391a3ce40e (diff) | |
| download | olio-linux-3.10-c14afb82ffff5903a701a9fb737ac20f36d1f755.tar.xz olio-linux-3.10-c14afb82ffff5903a701a9fb737ac20f36d1f755.zip  | |
Merge branch 'master' into for-3.9-async
To receive f56c3196f251012de9b3ebaff55732a9074fdaae ("async: fix
__lowest_in_progress()").
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/x86/kernel/irqinit.c')
| -rw-r--r-- | arch/x86/kernel/irqinit.c | 40 | 
1 files changed, 0 insertions, 40 deletions
diff --git a/arch/x86/kernel/irqinit.c b/arch/x86/kernel/irqinit.c index 6e03b0d6913..7dc4e459c2b 100644 --- a/arch/x86/kernel/irqinit.c +++ b/arch/x86/kernel/irqinit.c @@ -42,39 +42,6 @@   * (these are usually mapped into the 0x30-0xff vector range)   */ -#ifdef CONFIG_X86_32 -/* - * Note that on a 486, we don't want to do a SIGFPE on an irq13 - * as the irq is unreliable, and exception 16 works correctly - * (ie as explained in the intel literature). On a 386, you - * can't use exception 16 due to bad IBM design, so we have to - * rely on the less exact irq13. - * - * Careful.. Not only is IRQ13 unreliable, but it is also - * leads to races. IBM designers who came up with it should - * be shot. - */ - -static irqreturn_t math_error_irq(int cpl, void *dev_id) -{ -	outb(0, 0xF0); -	if (ignore_fpu_irq || !boot_cpu_data.hard_math) -		return IRQ_NONE; -	math_error(get_irq_regs(), 0, X86_TRAP_MF); -	return IRQ_HANDLED; -} - -/* - * New motherboards sometimes make IRQ 13 be a PCI interrupt, - * so allow interrupt sharing. - */ -static struct irqaction fpu_irq = { -	.handler = math_error_irq, -	.name = "fpu", -	.flags = IRQF_NO_THREAD, -}; -#endif -  /*   * IRQ2 is cascade interrupt to second interrupt controller   */ @@ -242,13 +209,6 @@ void __init native_init_IRQ(void)  		setup_irq(2, &irq2);  #ifdef CONFIG_X86_32 -	/* -	 * External FPU? Set up irq13 if so, for -	 * original braindamaged IBM FERR coupling. -	 */ -	if (boot_cpu_data.hard_math && !cpu_has_fpu) -		setup_irq(FPU_IRQ, &fpu_irq); -  	irq_ctx_init(smp_processor_id());  #endif  }  |