summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2004-01-13 23:56:56 +0000
committermiod <miod@openbsd.org>2004-01-13 23:56:56 +0000
commite8269187bcc400e2bdf07bdaae985cfdf3a08c2f (patch)
treeb8c990fda7ca4899304a7d3d10b0d55ab2e60328 /sys
parentAllow building w/o -traditional. OK weingart@ and mickey@ (diff)
downloadwireguard-openbsd-e8269187bcc400e2bdf07bdaae985cfdf3a08c2f.tar.xz
wireguard-openbsd-e8269187bcc400e2bdf07bdaae985cfdf3a08c2f.zip
Fix KERNTEXTOFF value (long) after the move to ELF.
tricked-to-commit-into-i386-land millert@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/include/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/param.h b/sys/arch/i386/include/param.h
index 0406774c0a5..b43bf2e6029 100644
--- a/sys/arch/i386/include/param.h
+++ b/sys/arch/i386/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.24 2003/06/02 23:27:47 millert Exp $ */
+/* $OpenBSD: param.h,v 1.25 2004/01/13 23:56:56 miod Exp $ */
/* $NetBSD: param.h,v 1.29 1996/03/04 05:04:26 cgd Exp $ */
/*-
@@ -83,7 +83,7 @@
*/
#define KERNBASE 0xd0000000
-#define KERNTEXTOFF (KERNBASE+0x100000) /* start of kernel text */
+#define KERNTEXTOFF (KERNBASE+0x100120) /* start of kernel text */
#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */