summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-05-23 11:40:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-05-23 11:40:31 +0000
commitcfc69ebfe12cd7bec889fa2b09a49ed00124d15b (patch)
tree9bcd9dd845095ca4fb54e5dc7f909afa15e11b6e /sys
parent37b6c90defa11af54438003d01c2c23e2574dcb6 (diff)
rely on __sparc__ instead
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/fpu/fpu_implode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/fpu/fpu_implode.c b/sys/arch/sparc/fpu/fpu_implode.c
index 21eb24435f5..2cc27acab3d 100644
--- a/sys/arch/sparc/fpu/fpu_implode.c
+++ b/sys/arch/sparc/fpu/fpu_implode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_implode.c,v 1.6 2010/05/09 20:47:49 kettenis Exp $ */
+/* $OpenBSD: fpu_implode.c,v 1.7 2010/05/23 11:40:30 deraadt Exp $ */
/* $NetBSD: fpu_implode.c,v 1.3 1996/03/14 19:41:59 christos Exp $ */
/*
@@ -130,7 +130,7 @@ fpu_round(register struct fpemu *fe, register struct fpn *fp)
}
/* Bump low bit of mantissa, with carry. */
-#ifdef sparc /* ``cheating'' (left out FPU_DECL_CARRY; know this is faster) */
+#ifdef __sparc__ /* ``cheating'' (left out FPU_DECL_CARRY; know this is faster) */
FPU_ADDS(m3, m3, 1);
FPU_ADDCS(m2, m2, 0);
FPU_ADDCS(m1, m1, 0);