Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/fpu Add missing `#ifdef SUN4U', `FTYPE_LNG' i...
details: https://anonhg.NetBSD.org/src/rev/568af31b2d19
branches: trunk
changeset: 495763:568af31b2d19
user: hannken <hannken%NetBSD.org@localhost>
date: Fri Aug 04 14:44:40 2000 +0000
description:
Add missing `#ifdef SUN4U', `FTYPE_LNG' is only defined on sparc64.
diffstat:
sys/arch/sparc/fpu/fpu.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 3261de8f3dff -r 568af31b2d19 sys/arch/sparc/fpu/fpu.c
--- a/sys/arch/sparc/fpu/fpu.c Fri Aug 04 14:32:05 2000 +0000
+++ b/sys/arch/sparc/fpu/fpu.c Fri Aug 04 14:44:40 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpu.c,v 1.8 2000/08/03 18:32:07 eeh Exp $ */
+/* $NetBSD: fpu.c,v 1.9 2000/08/04 14:44:40 hannken Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -567,7 +567,11 @@
}
fs->fs_fsr = fsr;
fs->fs_regs[rd] = space[0];
- if (type >= FTYPE_DBL || type == FTYPE_LNG) {
+ if (type >= FTYPE_DBL
+#ifdef SUN4U
+ || type == FTYPE_LNG
+#endif /* SUN4U */
+ ) {
fs->fs_regs[rd + 1] = space[1];
if (type > FTYPE_DBL) {
fs->fs_regs[rd + 2] = space[2];
Home |
Main Index |
Thread Index |
Old Index