On Fri, Mar 28, 2008 at 08:09:13AM +0100, Niclas Zeising wrote:
> Paul Saab wrote:
>> ps          2008-03-28 04:29:27 UTC
>> 
>>   FreeBSD src repository
>> 
>>   Modified files:
>>     lib/libc/sys         mincore.2     sys/amd64/amd64      pmap.c     
>> sys/i386/i386        pmap.c     sys/sys              mman.h   Log:
>>   Add support to mincore for detecting whether a page is part of a
>>   "super" page or not.
>>     Reviewed by:    alc, ups
>>     Revision  Changes    Path
>>   1.27      +2 -0      src/lib/libc/sys/mincore.2
>>   1.610     +2 -1      src/sys/amd64/amd64/pmap.c
>>   1.611     +3 -2      src/sys/i386/i386/pmap.c
>>   1.42      +1 -0      src/sys/sys/mman.h
> 
> 
> There is a typo in this that broke the build. Attached patch fixes the 
> build.

Committed.

Thanks,
Brooks

> Regards!
> Niclas

> Index: src/sys/i386/i386/pmap.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/i386/i386/pmap.c,v
> retrieving revision 1.611
> diff -u -d -r1.611 pmap.c
> --- src/sys/i386/i386/pmap.c  28 Mar 2008 04:29:27 -0000      1.611
> +++ src/sys/i386/i386/pmap.c  28 Mar 2008 07:54:02 -0000
> @@ -4481,7 +4481,7 @@
>       if (*pdep != 0) {
>               if (*pdep & PG_PS) {
>                       pte = *pdep;
> -                     val = MINCORE_SUPER:
> +                     val = MINCORE_SUPER;
>                       /* Compute the physical address of the 4KB page. */
>                       pa = ((*pdep & PG_PS_FRAME) | (addr & PDRMASK)) &
>                           PG_FRAME;

Attachment: pgplqqhKS96TC.pgp
Description: PGP signature

Reply via email to