]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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>
Mon, 27 Feb 2012 18:25:52 +0000 (10:25 -0800)
commit4733009df6d45db10f1f7551e65147576f224a06
tree9548b328aa4224ddab0aec2593800a2d09464cd5
parent9d0231c207faeda051cf54c1a64e1a147d2187fa
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