diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-02-22 22:06:15 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-02-22 22:06:15 +0000 |
commit | b4da92e48e66b1b566d7c30b3449daf8aca621e2 (patch) | |
tree | 79e56a0193f4cf586a615103e052b9aa4d7d9af3 /sys/arch/i386/isa/npx.c | |
parent | bdbcace6a476ce0b606f1e75e19d4dac7aa6db7d (diff) |
GCC 2.8 Wall
Diffstat (limited to 'sys/arch/i386/isa/npx.c')
-rw-r--r-- | sys/arch/i386/isa/npx.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/i386/isa/npx.c b/sys/arch/i386/isa/npx.c index ec871cad0e3..a3b1966553c 100644 --- a/sys/arch/i386/isa/npx.c +++ b/sys/arch/i386/isa/npx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: npx.c,v 1.14 1997/04/17 03:44:52 tholo Exp $ */ +/* $OpenBSD: npx.c,v 1.15 1998/02/22 22:06:11 niklas Exp $ */ /* $NetBSD: npx.c,v 1.57 1996/05/12 23:12:24 mycroft Exp $ */ #if 0 @@ -376,6 +376,7 @@ npxintr(arg) register struct save87 *addr; struct intrframe *frame = arg; int code; + union sigval sv; cnt.v_trap++; iprintf(("Intr")); @@ -461,7 +462,8 @@ npxintr(arg) code = FPE_FLTRES; else code = 0; /* XXX unknown */ - trapsignal(p, SIGFPE, T_ARITHTRAP, code, frame->if_eip); + sv.sival_int = frame->if_eip; + trapsignal(p, SIGFPE, T_ARITHTRAP, code, sv); } else { /* * Nested interrupt. These losers occur when: |