Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips make it compile with 'options SOFTFLOAT'.



details:   https://anonhg.NetBSD.org/src/rev/796da0ea6475
branches:  trunk
changeset: 487053:796da0ea6475
user:      shin <shin%NetBSD.org@localhost>
date:      Fri Jun 02 12:57:22 2000 +0000

description:
make it compile with 'options SOFTFLOAT'.

diffstat:

 sys/arch/mips/mips/trap.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 9c32dbd22cb2 -r 796da0ea6475 sys/arch/mips/mips/trap.c
--- a/sys/arch/mips/mips/trap.c Fri Jun 02 12:02:43 2000 +0000
+++ b/sys/arch/mips/mips/trap.c Fri Jun 02 12:57:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.135 2000/05/31 01:11:58 nisimura Exp $      */
+/*     $NetBSD: trap.c,v 1.136 2000/06/02 12:57:22 shin Exp $  */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -44,7 +44,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.135 2000/05/31 01:11:58 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.136 2000/06/02 12:57:22 shin Exp $");
 
 #include "opt_cputype.h"       /* which mips CPU levels do we support? */
 #include "opt_inet.h"
@@ -391,7 +391,9 @@
        u_quad_t sticks = 0;
        struct proc *p = curproc;
        vm_prot_t ftype;
+#ifndef SOFTFLOAT
        extern struct proc *fpcurproc;
+#endif
        extern void fswintrberr __P((void));
 
        uvmexp.traps++;



Home | Main Index | Thread Index | Old Index