Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/arch/sparc/fpu Pull up revision 1.9 (requested by m...



details:   https://anonhg.NetBSD.org/src/rev/a9a503583732
branches:  netbsd-1-6
changeset: 529302:a9a503583732
user:      tron <tron%NetBSD.org@localhost>
date:      Fri Nov 08 09:25:08 2002 +0000

description:
Pull up revision 1.9 (requested by martin in ticket #916):
Make 32bit sparc64 kernels with DEBUG and DIAGNOSTIC compile.

diffstat:

 sys/arch/sparc/fpu/fpu_explode.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 41b614576344 -r a9a503583732 sys/arch/sparc/fpu/fpu_explode.c
--- a/sys/arch/sparc/fpu/fpu_explode.c  Fri Nov 08 09:24:57 2002 +0000
+++ b/sys/arch/sparc/fpu/fpu_explode.c  Fri Nov 08 09:25:08 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu_explode.c,v 1.8 2002/01/23 10:19:42 pk Exp $ */
+/*     $NetBSD: fpu_explode.c,v 1.8.10.1 2002/11/08 09:25:08 tron Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -311,7 +311,11 @@
        if (fpe_debug & FPE_REG) {
                if (type == FTYPE_INT) printf("%d ", s);
 #ifdef SUN4U
+#ifdef _LP64
                if (type == FTYPE_LNG) printf("%ld ", l);
+#else
+               if (type == FTYPE_LNG) printf("%lld ", l);
+#endif
 #endif /* SUN4U */
        }
 #endif /* DEBUG */



Home | Main Index | Thread Index | Old Index