Displaying 3 results from an estimated 3 matches for "enable_hotplug_cpu".
2008 Aug 26
0
[PATCH] xen: compilation fix fo xen CPU hotplugging.
...c b/drivers/xen/cpu_hotplug.c
index 1bc0035..974f56d 100644
--- a/drivers/xen/cpu_hotplug.c
+++ b/drivers/xen/cpu_hotplug.c
@@ -2,7 +2,7 @@
#include <xen/xenbus.h>
-#include <asm-x86/xen/hypervisor.h>
+#include <asm/xen/hypervisor.h>
#include <asm/cpu.h>
static void enable_hotplug_cpu(int cpu)
@@ -78,7 +78,7 @@ static int __init setup_vcpu_hotplug_event(void)
static struct notifier_block xsn_cpu = {
.notifier_call = setup_cpu_watcher };
- if (!is_running_on_xen())
+ if (!xen_pv_domain())
return -ENODEV;
register_xenstore_notifier(&xsn_cpu);
--
1.6.0.rc0.42.g18...
2008 Aug 26
0
[PATCH] xen: compilation fix fo xen CPU hotplugging.
...c b/drivers/xen/cpu_hotplug.c
index 1bc0035..974f56d 100644
--- a/drivers/xen/cpu_hotplug.c
+++ b/drivers/xen/cpu_hotplug.c
@@ -2,7 +2,7 @@
#include <xen/xenbus.h>
-#include <asm-x86/xen/hypervisor.h>
+#include <asm/xen/hypervisor.h>
#include <asm/cpu.h>
static void enable_hotplug_cpu(int cpu)
@@ -78,7 +78,7 @@ static int __init setup_vcpu_hotplug_event(void)
static struct notifier_block xsn_cpu = {
.notifier_call = setup_cpu_watcher };
- if (!is_running_on_xen())
+ if (!xen_pv_domain())
return -ENODEV;
register_xenstore_notifier(&xsn_cpu);
--
1.6.0.rc0.42.g18...
2008 Aug 26
0
[PATCH] xen: compilation fix fo xen CPU hotplugging.
...c b/drivers/xen/cpu_hotplug.c
index 1bc0035..974f56d 100644
--- a/drivers/xen/cpu_hotplug.c
+++ b/drivers/xen/cpu_hotplug.c
@@ -2,7 +2,7 @@
#include <xen/xenbus.h>
-#include <asm-x86/xen/hypervisor.h>
+#include <asm/xen/hypervisor.h>
#include <asm/cpu.h>
static void enable_hotplug_cpu(int cpu)
@@ -78,7 +78,7 @@ static int __init setup_vcpu_hotplug_event(void)
static struct notifier_block xsn_cpu = {
.notifier_call = setup_cpu_watcher };
- if (!is_running_on_xen())
+ if (!xen_pv_domain())
return -ENODEV;
register_xenstore_notifier(&xsn_cpu);
--
1.6.0.rc0.42.g18...