public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Brian Gerst <bgerst@didntduck.org>
To: Linus Torvalds <torvalds@transmeta.com>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: [PATCH] Fix math emulation
Date: Sat, 28 Jul 2001 12:01:10 -0400	[thread overview]
Message-ID: <3B62E1C6.2F4BFBA1@didntduck.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 230 bytes --]

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

[-- Attachment #2: mathemu.diff --]
[-- Type: text/plain, Size: 353 bytes --]

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;

                 reply	other threads:[~2001-07-28 16:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B62E1C6.2F4BFBA1@didntduck.org \
    --to=bgerst@didntduck.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox