summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-01-08 15:52:22 +0000
committerbde <bde@FreeBSD.org>2000-01-08 15:52:22 +0000
commit56c26012ce83d84970d82e62757ffefc7048ea0d (patch)
treed9de48ddc8c5296a56d6326b285b18e99b35f3c4 /sys/amd64
parent3aad71b6b47d45903ffa2a7af4e05f85167cbc39 (diff)
downloadFreeBSD-src-56c26012ce83d84970d82e62757ffefc7048ea0d.zip
FreeBSD-src-56c26012ce83d84970d82e62757ffefc7048ea0d.tar.gz
Compile genassym.c with ordinary ${CFLAGS}. The (small) needs for
${GEN_CFLAGS} and -U_KERNEL became negative when all all the genassym.c's were converted to be cross-built. Makefile.*: - Cleanups associated with the old genassym. - Fixed deprecated spelling of ${.IMPSRC} as "$<".
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/genassym.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/amd64/amd64/genassym.c b/sys/amd64/amd64/genassym.c
index f9a42fa..3e843db 100644
--- a/sys/amd64/amd64/genassym.c
+++ b/sys/amd64/amd64/genassym.c
@@ -42,6 +42,7 @@
#include <stddef.h>
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/assym.h>
#include <sys/buf.h>
#include <sys/proc.h>
@@ -57,9 +58,7 @@
#include <vm/vm_param.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
-#define _KERNEL /* Avoid userland compatability headers */
#include <sys/user.h>
-#undef _KERNEL
#include <net/if.h>
#include <netinet/in.h>
#include <nfs/nfsv2.h>
OpenPOWER on IntegriCloud