Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2008 08:09:13 +0100
From:      Niclas Zeising <niclas.zeising@gmail.com>
To:        Paul Saab <ps@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/sys mincore.2 src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c src/sys/sys mman.h
Message-ID:  <47EC9999.1020700@gmail.com>
In-Reply-To: <200803280429.m2S4TRwH016625@repoman.freebsd.org>
References:  <200803280429.m2S4TRwH016625@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------010901090109070003010503
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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.
Regards!
Niclas

--------------010901090109070003010503
Content-Type: text/x-diff;
 name="pmap.c.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="pmap.c.diff"

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;

--------------010901090109070003010503--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47EC9999.1020700>