NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/38708: lkm_map issues on amd64



The following reply was made to PR port-amd64/38708; it has been noted by GNATS.

From: "Jared D. McNeill" <jmcneill%invisible.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: port-amd64-maintainer%netbsd.org@localhost, 
gnats-admin%netbsd.org@localhost, 
    netbsd-bugs%netbsd.org@localhost
Subject: Re: port-amd64/38708: lkm_map issues on amd64
Date: Tue, 20 May 2008 21:48:57 -0400 (EDT)

 The following patch appears to fix the problem, can someone verify my 
 sanity?
 
 Index: machdep.c
 ===================================================================
 RCS file: /cvsroot/src/sys/arch/amd64/amd64/machdep.c,v
 retrieving revision 1.93
 diff -u -r1.93 machdep.c
 --- machdep.c  11 May 2008 14:44:53 -0000      1.93
 +++ machdep.c  21 May 2008 01:47:26 -0000
 @@ -1493,7 +1493,7 @@
        first_avail = round_page(first_avail);
 
        kern_end = KERNBASE + first_avail;
 -      lkm_start = kern_end;
 +      lkm_start = KERNTEXTOFF + first_avail;
        lkm_end = KERNBASE + NKL2_KIMG_ENTRIES * NBPD_L2;
 
        /*
 


Home | Main Index | Thread Index | Old Index