WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] x86/mm: partially revert 21093:4a3e131f7498

To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] x86/mm: partially revert 21093:4a3e131f7498
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Wed, 16 Feb 2011 17:11:16 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Gianni.Tedesco@xxxxxxxxxx
Delivery-date: Wed, 16 Feb 2011 08:11:54 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1297872684; l=712; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=DH78u6Hv6D5/F63eV9pxTDdiJ/I=; b=Bii5LmuW4hDk92DI24T7mOzKYUaYRLU1v9DXSv1SnCNQD5EqFuwj2ZIldBeAn7GZAEW LVZ4Pt31eGf/6MY3RRkOb8GKrAuuYSE8o6SKrhFnQaal3p6/uoQ+r5BpilUCO6CD/7V9X nsQZHpWoNYucmSwP9jfapfYUjUZMTARLbes=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20140bcb4c047c541059.1297691405@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20140bcb4c047c541059.1297691405@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Mon, Feb 14, Tim Deegan wrote:

> diff -r af84691a6cf9 -r 20140bcb4c04 xen/arch/x86/mm/p2m.c
> --- a/xen/arch/x86/mm/p2m.c   Mon Feb 14 10:41:12 2011 +0000
> +++ b/xen/arch/x86/mm/p2m.c   Mon Feb 14 13:40:32 2011 +0000

> @@ -2314,7 +2313,7 @@ static int gfn_check_limit(
>       * hardware translation limit. This limitation is checked by comparing
>       * gfn with 0xfffffUL.
>       */
> -    if ( !paging_mode_hap(d) || ((gfn + (1ul << order)) <= 0x100000UL) ||
> +    if ( !hap_enabled(d) || ((gfn + (1ul << order)) <= 0x100000UL)

This removes the ||

p2m.c: In function 'gfn_check_limit':
p2m.c:2317: error: called object '(1ul << (int)order) + gfn <= 1048576ul' is 
not a function
make[4]: *** [p2m.o] Error 1



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>