]> git.baikalelectronics.ru Git - kernel.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Feb 2012 21:47:25 +0000 (13:47 -0800)
commit7a18bd69c56d5d17701ccc6852a18a7d54b1168a
tree5eb1bdb4e443680c12901add5dc23a9cd3468872
parentb15dbe61a15e1bb2372609ae7d4ba8216cb2c54a
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