summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2006-08-15 16:43:07 +0000
committercognet <cognet@FreeBSD.org>2006-08-15 16:43:07 +0000
commitd7e3bf9763abbc8328ca5f3b1b61b1bda557e86e (patch)
treea0085f1c314fc05b1dad63451330a413880f635a /sys
parent9810a59f6de75a17e9e37af541c35dd063995815 (diff)
downloadFreeBSD-src-d7e3bf9763abbc8328ca5f3b1b61b1bda557e86e.zip
FreeBSD-src-d7e3bf9763abbc8328ca5f3b1b61b1bda557e86e.tar.gz
Ooops we need to include <machine/vmparam.h> to get the definition of
KERNBASE and VM_MAXUSER_ADDRESS. Remove the useless include of opt_global.h, as noticed by netchild@ (the one in arm/elf_trampoline.c is legit, because this file is compiled outside the kernel, and doesn't use the standard CFLAGS).
Diffstat (limited to 'sys')
-rw-r--r--sys/arm/arm/mem.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arm/arm/mem.c b/sys/arm/arm/mem.c
index 3cf5789..e115ffc 100644
--- a/sys/arm/arm/mem.c
+++ b/sys/arm/arm/mem.c
@@ -63,8 +63,7 @@ __FBSDID("$FreeBSD$");
#include <vm/vm_extern.h>
#include <machine/memdev.h>
-
-#include "opt_global.h"
+#include <machine/vmparam.h>
/*
* Used in /dev/mem drivers and elsewhere
OpenPOWER on IntegriCloud