]> xenbits.xensource.com Git - people/tklengyel/xen.git/commitdiff
x86 p2m: Reinstate || errneously removed by 22924:86000076dcee
authorKeir Fraser <keir@xen.org>
Wed, 16 Feb 2011 16:20:36 +0000 (16:20 +0000)
committerKeir Fraser <keir@xen.org>
Wed, 16 Feb 2011 16:20:36 +0000 (16:20 +0000)
Fixes x86_32 build.

Signed-off-by: Keir Fraser <keir@xen.org>
xen/arch/x86/mm/p2m.c

index ed16b1551fd61a7b2901652ce35536df34794123..a8c0d6cb8a100dfd211a5b910d7b2798ab0f5d1f 100644 (file)
@@ -2313,7 +2313,7 @@ static int gfn_check_limit(
      * hardware translation limit. This limitation is checked by comparing
      * gfn with 0xfffffUL.
      */
-    if ( !hap_enabled(d) || ((gfn + (1ul << order)) <= 0x100000UL)
+    if ( !hap_enabled(d) || ((gfn + (1ul << order)) <= 0x100000UL) ||
          (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) )
         return 0;