From nobody@FreeBSD.org  Mon Aug 18 21:48:21 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 870721065673
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Aug 2008 21:48:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 6A9C28FC1B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Aug 2008 21:48:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m7ILmKEU065412
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Aug 2008 21:48:20 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m7ILmKnU065411;
	Mon, 18 Aug 2008 21:48:20 GMT
	(envelope-from nobody)
Message-Id: <200808182148.m7ILmKnU065411@www.freebsd.org>
Date: Mon, 18 Aug 2008 21:48:20 GMT
From: Roel van Meer <rolek@lsof.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: HEAD kernel does not compile without xen option
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         126634
>Category:       kern
>Synopsis:       [build] HEAD kernel does not compile without xen option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kmacy
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 18 21:50:07 UTC 2008
>Closed-Date:    Sun Sep 28 02:31:25 UTC 2008
>Last-Modified:  Sun Sep 28 02:31:25 UTC 2008
>Originator:     Roel van Meer
>Release:        7.0
>Organization:
>Environment:
FreeBSD aardvark.k38.local 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
When compiling a HEAD release kernel, it fails with an error:
warning: implicit declaration of function 'PT_UPDATES_FLUSH'
The problem seems to be in ./i386/i386/machdep.c, line 2326, where this function is called. The include file that defines it is only included when the xen option is enabled (e.g. if XEN is defined).
My version of machdep.c is $FreeBSD: src/sys/i386/i386/machdep.c,v 1.672 2008/08/17 23:38:14 kmacy Exp $
>How-To-Repeat:
make buildkernel
>Fix:
#ifdef XEN/#endif statements around the call to PT_UPDATES_FLUSH() in ./i386/i386/machdep.c (line 2326).

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->kmacy 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Aug 19 00:20:48 UTC 2008 
Responsible-Changed-Why:  
Over to xen guru. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126634 

From: Roel van Meer <rolek@lsof.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/126634: FIXED: HEAD kernel does not compile without xen
         option
Date: Mon, 25 Aug 2008 21:36:34 +0200

 PT_UPDATES_FLUSH has now been defined in sys/i386/include/pmap.h as well, 
 which fixes the problem. Thanks for your work!
 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Sep 28 02:31:09 UTC 2008 
State-Changed-Why:  
Submitter notes that problem has been fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126634 
>Unformatted:
