]> xenbits.xensource.com Git - xen.git/commitdiff
ia64: fix build (once more)
authorJan Beulich <jbeulich@suse.com>
Thu, 8 Mar 2012 12:49:24 +0000 (13:49 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 8 Mar 2012 12:49:24 +0000 (13:49 +0100)
Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/ia64/xen/dom0_ops.c
xen/common/tmem_xen.c

index a372d582213315ab7b55d1e603846d5558c021a4..57a1905f320b6d7a050b53e6e12a571cd407b4df 100644 (file)
@@ -558,7 +558,7 @@ long arch_do_domctl(xen_domctl_t *op, XEN_GUEST_HANDLE(xen_domctl_t) u_domctl)
 
         switch(mec->op)
         {
-            case XEN_DOMCTL_MEM_EVENT_OP_SHARING_CONTROL:
+            case XEN_DOMCTL_MEM_SHARING_CONTROL:
             {
                 if (mec->u.enable) {
                     ret = -EINVAL; /* not implemented */
index 9b2a22cb763feb1aad745c1c5ceb7c1d561de8a9..37e82896f50c5d42eca61646d8aa4ded0e0c1cb7 100644 (file)
@@ -13,7 +13,6 @@
 #include <xen/domain_page.h>
 #include <xen/cpu.h>
 #include <xen/init.h>
-#include <asm/p2m.h>
 
 #define EXPORT /* indicates code other modules are dependent upon */
 
@@ -103,6 +102,8 @@ static inline void cli_put_page(tmem_cli_mfn_t cmfn, void *cli_va, pfp_t *cli_pf
     ASSERT(0);
 }
 #else
+#include <asm/p2m.h>
+
 static inline void *cli_get_page(tmem_cli_mfn_t cmfn, unsigned long *pcli_mfn,
                                  pfp_t **pcli_pfp, bool_t cli_write)
 {