diff options
-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 /* |