diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2011-01-13 20:34:05 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2011-01-13 20:34:05 +0000 |
commit | 01a1ec95f8cc3d0d6da6b2cab5f50dfc1d281db0 (patch) | |
tree | 9c974d9303da3f3a8a7d0369d686c183b59690c1 | |
parent | 3348e39bb50568230649ab6d035b85f432b8f352 (diff) |
set lkm_end to the end of the jumpable virtual space; tested by me and marco
-rw-r--r-- | sys/arch/amd64/amd64/machdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c index 94b31a3c32d..82c3b7534a3 100644 --- a/sys/arch/amd64/amd64/machdep.c +++ b/sys/arch/amd64/amd64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.129 2010/11/22 21:07:16 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.130 2011/01/13 20:34:04 mikeb Exp $ */ /* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */ /*- @@ -1366,7 +1366,8 @@ init_x86_64(paddr_t first_avail) #ifdef LKM lkm_start = KERNTEXTOFF + first_avail; - lkm_end = KERNBASE + NKL2_KIMG_ENTRIES * NBPD_L2; + /* set it to the end of the jumpable region, should be safe enough */ + lkm_end = 0xffffffffffffffff; #endif /* |