xen/arm: compile and run xenbus
[deliverable/linux.git] / drivers / xen / xenbus / xenbus_xs.c
index bce15cf4a8df1708a5237a12e7223ca56b093e8f..131dec04794ee3ee1af70c2fd3f1dd2220774070 100644 (file)
@@ -44,6 +44,7 @@
 #include <linux/rwsem.h>
 #include <linux/module.h>
 #include <linux/mutex.h>
+#include <asm/xen/hypervisor.h>
 #include <xen/xenbus.h>
 #include <xen/xen.h>
 #include "xenbus_comms.h"
@@ -622,7 +623,7 @@ static void xs_reset_watches(void)
 {
        int err, supported = 0;
 
-       if (!xen_hvm_domain())
+       if (!xen_hvm_domain() || xen_initial_domain())
                return;
 
        err = xenbus_scanf(XBT_NIL, "control",
This page took 0.025763 seconds and 5 git commands to generate.