[PATCH] Fix math emulation

Brian Gerst (bgerst@didntduck.org)
Sat, 28 Jul 2001 12:01:10 -0400


This is a multi-part message in MIME format.
--------------7B35CE14E51319C736651582
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

There was an optimization done in 2.4.6 which broke the call to the math
emulation code. With ret_from_exception no longer pushed onto the
stack, its placeholder in the math emu struct needs to be removed.

-- 

Brian Gerst --------------7B35CE14E51319C736651582 Content-Type: text/plain; charset=us-ascii; name="mathemu.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mathemu.diff"

diff -urN linux-2.4.7/include/asm-i386/math_emu.h linux/include/asm-i386/math_emu.h --- linux-2.4.7/include/asm-i386/math_emu.h Thu Jun 22 00:21:37 2000 +++ linux/include/asm-i386/math_emu.h Sat Jul 28 11:28:40 2001 @@ -12,7 +12,6 @@ */ struct info { long ___orig_eip; - long ___ret_from_system_call; long ___ebx; long ___ecx; long ___edx;

--------------7B35CE14E51319C736651582--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/