i387: math_state_restore() isn't called from asm
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Feb 2012 21:47:25 +0000 (13:47 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Mar 2012 00:34:22 +0000 (16:34 -0800)
commit454d147172263d0b022f32b86336f92243f89158
treec787977a55984b1eecb47bcfb44f09a3de970765
parentac29c0aeddba8f83dd73ec8a51c72f268c9b7b81
i387: math_state_restore() isn't called from asm

commit be98c2cdb15ba26148cd2bd58a857d4f7759ed38 upstream.

It was marked asmlinkage for some really old and stale legacy reasons.
Fix that and the equally stale comment.

Noticed when debugging the irq_fpu_usable() bugs.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/i387.h
arch/x86/kernel/traps.c