summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-07 19:58:13 +0000
committerpeter <peter@FreeBSD.org>1997-05-07 19:58:13 +0000
commit747462e40f19802a3f1b005a0558c7e6eb655c56 (patch)
treed0ad9da6b43783470c6b70152319f7b2be0a72ea
parentc252e480a617e85a02eb0918087a37a6f476efa7 (diff)
downloadFreeBSD-src-747462e40f19802a3f1b005a0558c7e6eb655c56.zip
FreeBSD-src-747462e40f19802a3f1b005a0558c7e6eb655c56.tar.gz
remove now redundant (struct trapframe *) cast
-rw-r--r--sys/amd64/amd64/fpu.c4
-rw-r--r--sys/amd64/isa/npx.c4
-rw-r--r--sys/i386/isa/npx.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c
index 402b1ce..b433499 100644
--- a/sys/amd64/amd64/fpu.c
+++ b/sys/amd64/amd64/fpu.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
- * $Id: npx.c,v 1.41 1997/04/22 06:55:38 jdp Exp $
+ * $Id: npx.c,v 1.42 1997/04/26 11:46:03 peter Exp $
*/
#include "npx.h"
@@ -543,7 +543,7 @@ npxintr(unit)
* in doreti, and the frame for that could easily be set up
* just before it is used).
*/
- curproc->p_md.md_regs = &frame->if_es;
+ curproc->p_md.md_regs = (struct trapframe *)&frame->if_es;
#ifdef notyet
/*
* Encode the appropriate code for detailed information on
diff --git a/sys/amd64/isa/npx.c b/sys/amd64/isa/npx.c
index 402b1ce..b433499 100644
--- a/sys/amd64/isa/npx.c
+++ b/sys/amd64/isa/npx.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
- * $Id: npx.c,v 1.41 1997/04/22 06:55:38 jdp Exp $
+ * $Id: npx.c,v 1.42 1997/04/26 11:46:03 peter Exp $
*/
#include "npx.h"
@@ -543,7 +543,7 @@ npxintr(unit)
* in doreti, and the frame for that could easily be set up
* just before it is used).
*/
- curproc->p_md.md_regs = &frame->if_es;
+ curproc->p_md.md_regs = (struct trapframe *)&frame->if_es;
#ifdef notyet
/*
* Encode the appropriate code for detailed information on
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c
index 402b1ce..b433499 100644
--- a/sys/i386/isa/npx.c
+++ b/sys/i386/isa/npx.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
- * $Id: npx.c,v 1.41 1997/04/22 06:55:38 jdp Exp $
+ * $Id: npx.c,v 1.42 1997/04/26 11:46:03 peter Exp $
*/
#include "npx.h"
@@ -543,7 +543,7 @@ npxintr(unit)
* in doreti, and the frame for that could easily be set up
* just before it is used).
*/
- curproc->p_md.md_regs = &frame->if_es;
+ curproc->p_md.md_regs = (struct trapframe *)&frame->if_es;
#ifdef notyet
/*
* Encode the appropriate code for detailed information on
OpenPOWER on IntegriCloud