Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Use a common <machine/math.h> for amd64 and i386.



details:   https://anonhg.NetBSD.org/src/rev/489e0cb660d5
branches:  trunk
changeset: 553882:489e0cb660d5
user:      kleink <kleink%NetBSD.org@localhost>
date:      Wed Oct 22 11:54:23 2003 +0000

description:
Use a common <machine/math.h> for amd64 and i386.

diffstat:

 sys/arch/amd64/include/math.h |  4 ++--
 sys/arch/i386/include/math.h  |  4 ++--
 sys/arch/x86/include/Makefile |  4 ++--
 sys/arch/x86/include/math.h   |  3 +++
 4 files changed, 9 insertions(+), 6 deletions(-)

diffs (43 lines):

diff -r 8feb11d4dc9a -r 489e0cb660d5 sys/arch/amd64/include/math.h
--- a/sys/arch/amd64/include/math.h     Wed Oct 22 11:32:40 2003 +0000
+++ b/sys/arch/amd64/include/math.h     Wed Oct 22 11:54:23 2003 +0000
@@ -1,3 +1,3 @@
-/*     $NetBSD: math.h,v 1.1 2003/04/26 18:39:43 fvdl Exp $    */
+/*     $NetBSD: math.h,v 1.2 2003/10/22 11:54:23 kleink Exp $  */
 
-#define        __HAVE_NANF
+#include <x86/math.h>
diff -r 8feb11d4dc9a -r 489e0cb660d5 sys/arch/i386/include/math.h
--- a/sys/arch/i386/include/math.h      Wed Oct 22 11:32:40 2003 +0000
+++ b/sys/arch/i386/include/math.h      Wed Oct 22 11:54:23 2003 +0000
@@ -1,3 +1,3 @@
-/*     $NetBSD: math.h,v 1.4 2002/02/19 13:08:14 simonb Exp $  */
+/*     $NetBSD: math.h,v 1.5 2003/10/22 11:54:23 kleink Exp $  */
 
-#define        __HAVE_NANF
+#include <x86/math.h>
diff -r 8feb11d4dc9a -r 489e0cb660d5 sys/arch/x86/include/Makefile
--- a/sys/arch/x86/include/Makefile     Wed Oct 22 11:32:40 2003 +0000
+++ b/sys/arch/x86/include/Makefile     Wed Oct 22 11:54:23 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2003/04/26 10:49:54 fvdl Exp $
+#      $NetBSD: Makefile,v 1.5 2003/10/22 11:54:23 kleink Exp $
 
 INCSDIR=/usr/include/x86
 
@@ -10,7 +10,7 @@
        ieee.h ieeefp.h \
        intr.h intrdefs.h \
        lock.h \
-       mtrr.h \
+       math.h mtrr.h \
        pio.h \
        psl.h \
        specialreg.h \
diff -r 8feb11d4dc9a -r 489e0cb660d5 sys/arch/x86/include/math.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/x86/include/math.h       Wed Oct 22 11:54:23 2003 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: math.h,v 1.1 2003/10/22 11:54:23 kleink Exp $  */
+
+#define        __HAVE_NANF



Home | Main Index | Thread Index | Old Index