Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/arch/i386/isa Pull up revision 1.84 (requested by e...



details:   https://anonhg.NetBSD.org/src/rev/dab287651fe0
branches:  netbsd-1-5
changeset: 492817:dab287651fe0
user:      he <he%NetBSD.org@localhost>
date:      Sat Feb 23 16:00:55 2002 +0000

description:
Pull up revision 1.84 (requested by enami):
  Cope correctly with earlier update of i386 include/frame.h, which
  put if_gs at the start of trapframe.  Fixes PR#14040.

diffstat:

 sys/arch/i386/isa/npx.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ca165c85cf7a -r dab287651fe0 sys/arch/i386/isa/npx.c
--- a/sys/arch/i386/isa/npx.c   Sat Feb 23 15:54:10 2002 +0000
+++ b/sys/arch/i386/isa/npx.c   Sat Feb 23 16:00:55 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npx.c,v 1.72.2.1 2001/03/30 21:32:17 he Exp $  */
+/*     $NetBSD: npx.c,v 1.72.2.2 2002/02/23 16:00:55 he Exp $  */
 
 #if 0
 #define IPRINTF(x)     printf x
@@ -342,7 +342,7 @@
                 * in doreti, and the frame for that could easily be set up
                 * just before it is used).
                 */
-               p->p_md.md_regs = (struct trapframe *)&frame->if_es;
+               p->p_md.md_regs = (struct trapframe *)&frame->if_gs;
 #ifdef notyet
                /*
                 * Encode the appropriate code for detailed information on



Home | Main Index | Thread Index | Old Index