From 747462e40f19802a3f1b005a0558c7e6eb655c56 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 7 May 1997 19:58:13 +0000 Subject: remove now redundant (struct trapframe *) cast --- sys/amd64/amd64/fpu.c | 4 ++-- sys/amd64/isa/npx.c | 4 ++-- sys/i386/isa/npx.c | 4 ++-- 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 -- cgit v1.1