mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
Xen: fix cpu_hotplug.c build by replacing is_running_on_xen() with xen_pv_domain()
Signed-off-by: Alex Nixon <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
d68d82afd4
commit
5c51c637e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue