Fix 32bit PAE compilation error introduced by 1GB patches
PATCH 1/1 Fix 32bit PAE compilation error introduced by 1GB patches
Keir,
The 1GB patches broken 32bit PAE build. Very sorry about it. The attached is the patch to fix compilation for 32bit PAE.
Thanks,
-Wei
Signed-off-by Wei Huang2 <[email protected]>
xen/arch/x86/mm/p2m.c +5 -2
@@ -1534,12 +1534,15 @@ {l1_pgentry_t l1e =l1e_empty (), *p2m_entry;l2_pgentry_t l2e =l2e_empty (); +int ret; +#if CONFIG_PAGING_LEVELS >=4 l3_pgentry_t l3e =l3e_empty (); -int ret; +#endif ASSERT (gfn < (RO_MPT_VIRT_END -RO_MPT_VIRT_START ) /sizeof (l1_pgentry_t)); +#if CONFIG_PAGING_LEVELS >=4 /* * Read & process L3 */
@@ -1585,7 +1588,7 @@ goto out; } - +#endif /* * Read & process L2 */
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel