Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/aarch64/gen don't use systm.h header, it's not...



details:   https://anonhg.NetBSD.org/src/rev/d06a6b1d53af
branches:  trunk
changeset: 349806:d06a6b1d53af
user:      maya <maya%NetBSD.org@localhost>
date:      Sat Dec 24 15:23:06 2016 +0000

description:
don't use systm.h header, it's not available to userland.

as a side effect, this fixes the evbarm64 build, which was failing due
to a declaration of psize_t physmem in systm.h, while psize_t is
kernel-only.

ok riastradh

diffstat:

 lib/libc/arch/aarch64/gen/fpgetmask.c   |  3 +--
 lib/libc/arch/aarch64/gen/fpgetround.c  |  3 +--
 lib/libc/arch/aarch64/gen/fpgetsticky.c |  3 +--
 lib/libc/arch/aarch64/gen/fpsetmask.c   |  3 +--
 lib/libc/arch/aarch64/gen/fpsetround.c  |  3 +--
 lib/libc/arch/aarch64/gen/fpsetsticky.c |  3 +--
 6 files changed, 6 insertions(+), 12 deletions(-)

diffs (90 lines):

diff -r db12068fa26b -r d06a6b1d53af lib/libc/arch/aarch64/gen/fpgetmask.c
--- a/lib/libc/arch/aarch64/gen/fpgetmask.c     Sat Dec 24 14:04:10 2016 +0000
+++ b/lib/libc/arch/aarch64/gen/fpgetmask.c     Sat Dec 24 15:23:06 2016 +0000
@@ -29,10 +29,9 @@
 
 #include <sys/cdefs.h>
 
-__RCSID("$NetBSD: fpgetmask.c,v 1.1 2015/07/05 22:07:09 matt Exp $");
+__RCSID("$NetBSD: fpgetmask.c,v 1.2 2016/12/24 15:23:06 maya Exp $");
 
 #include <sys/param.h>
-#include <sys/systm.h>
 #include <sys/bitops.h>
 
 #include "namespace.h"
diff -r db12068fa26b -r d06a6b1d53af lib/libc/arch/aarch64/gen/fpgetround.c
--- a/lib/libc/arch/aarch64/gen/fpgetround.c    Sat Dec 24 14:04:10 2016 +0000
+++ b/lib/libc/arch/aarch64/gen/fpgetround.c    Sat Dec 24 15:23:06 2016 +0000
@@ -29,10 +29,9 @@
 
 #include <sys/cdefs.h>
 
-__RCSID("$NetBSD: fpgetround.c,v 1.1 2015/07/05 22:07:09 matt Exp $");
+__RCSID("$NetBSD: fpgetround.c,v 1.2 2016/12/24 15:23:06 maya Exp $");
 
 #include <sys/param.h>
-#include <sys/systm.h>
 #include <sys/bitops.h>
 
 #include "namespace.h"
diff -r db12068fa26b -r d06a6b1d53af lib/libc/arch/aarch64/gen/fpgetsticky.c
--- a/lib/libc/arch/aarch64/gen/fpgetsticky.c   Sat Dec 24 14:04:10 2016 +0000
+++ b/lib/libc/arch/aarch64/gen/fpgetsticky.c   Sat Dec 24 15:23:06 2016 +0000
@@ -29,10 +29,9 @@
 
 #include <sys/cdefs.h>
 
-__RCSID("$NetBSD: fpgetsticky.c,v 1.1 2015/07/05 22:07:09 matt Exp $");
+__RCSID("$NetBSD: fpgetsticky.c,v 1.2 2016/12/24 15:23:06 maya Exp $");
 
 #include <sys/param.h>
-#include <sys/systm.h>
 #include <sys/bitops.h>
 
 #include "namespace.h"
diff -r db12068fa26b -r d06a6b1d53af lib/libc/arch/aarch64/gen/fpsetmask.c
--- a/lib/libc/arch/aarch64/gen/fpsetmask.c     Sat Dec 24 14:04:10 2016 +0000
+++ b/lib/libc/arch/aarch64/gen/fpsetmask.c     Sat Dec 24 15:23:06 2016 +0000
@@ -29,10 +29,9 @@
 
 #include <sys/cdefs.h>
 
-__RCSID("$NetBSD: fpsetmask.c,v 1.1 2015/07/07 21:40:19 matt Exp $");
+__RCSID("$NetBSD: fpsetmask.c,v 1.2 2016/12/24 15:23:06 maya Exp $");
 
 #include <sys/param.h>
-#include <sys/systm.h>
 #include <sys/bitops.h>
 
 #include "namespace.h"
diff -r db12068fa26b -r d06a6b1d53af lib/libc/arch/aarch64/gen/fpsetround.c
--- a/lib/libc/arch/aarch64/gen/fpsetround.c    Sat Dec 24 14:04:10 2016 +0000
+++ b/lib/libc/arch/aarch64/gen/fpsetround.c    Sat Dec 24 15:23:06 2016 +0000
@@ -29,10 +29,9 @@
 
 #include <sys/cdefs.h>
 
-__RCSID("$NetBSD: fpsetround.c,v 1.1 2015/07/07 21:40:19 matt Exp $");
+__RCSID("$NetBSD: fpsetround.c,v 1.2 2016/12/24 15:23:06 maya Exp $");
 
 #include <sys/param.h>
-#include <sys/systm.h>
 #include <sys/bitops.h>
 
 #include "namespace.h"
diff -r db12068fa26b -r d06a6b1d53af lib/libc/arch/aarch64/gen/fpsetsticky.c
--- a/lib/libc/arch/aarch64/gen/fpsetsticky.c   Sat Dec 24 14:04:10 2016 +0000
+++ b/lib/libc/arch/aarch64/gen/fpsetsticky.c   Sat Dec 24 15:23:06 2016 +0000
@@ -29,10 +29,9 @@
 
 #include <sys/cdefs.h>
 
-__RCSID("$NetBSD: fpsetsticky.c,v 1.1 2015/07/07 21:40:19 matt Exp $");
+__RCSID("$NetBSD: fpsetsticky.c,v 1.2 2016/12/24 15:23:06 maya Exp $");
 
 #include <sys/param.h>
-#include <sys/systm.h>
 #include <sys/bitops.h>
 
 #include "namespace.h"



Home | Main Index | Thread Index | Old Index