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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Feb 2012 21:47:25 +0000 (13:47 -0800)
commitbe98c2cdb15ba26148cd2bd58a857d4f7759ed38
tree5eb1bdb4e443680c12901add5dc23a9cd3468872
parent3ec1e88b33a3bdd852ce8e014052acec7a9da8b5
i387: math_state_restore() isn't called from asm

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>
arch/x86/include/asm/i387.h
arch/x86/kernel/traps.c