diff options
| author | Zhenzhong Duan <zhenzhong.duan@oracle.com> | 2017-10-08 22:58:46 -0400 |
|---|---|---|
| committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2017-10-10 08:40:02 -0400 |
| commit | eac779aa509d453a55da0ea4302bdb79c4e0854f (patch) | |
| tree | 849236856bf52f588b2f341e36c09b7f2b24d3fe | |
| parent | 0d805ee70a69eabd38160dc199e183ac2f13fe4b (diff) | |
xen/vcpu: Use a unified name about cpu hotplug state for pv and pvhvm
As xen_cpuhp_setup is called by PV and PVHVM, the name of "x86/xen/hvm_guest"
is confusing.
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
| -rw-r--r-- | arch/x86/xen/enlighten.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 0e7ef69e8531..d669e9d89001 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
| @@ -93,11 +93,11 @@ int xen_cpuhp_setup(int (*cpu_up_prepare_cb)(unsigned int), | |||
| 93 | int rc; | 93 | int rc; |
| 94 | 94 | ||
| 95 | rc = cpuhp_setup_state_nocalls(CPUHP_XEN_PREPARE, | 95 | rc = cpuhp_setup_state_nocalls(CPUHP_XEN_PREPARE, |
| 96 | "x86/xen/hvm_guest:prepare", | 96 | "x86/xen/guest:prepare", |
| 97 | cpu_up_prepare_cb, cpu_dead_cb); | 97 | cpu_up_prepare_cb, cpu_dead_cb); |
| 98 | if (rc >= 0) { | 98 | if (rc >= 0) { |
| 99 | rc = cpuhp_setup_state_nocalls(CPUHP_AP_ONLINE_DYN, | 99 | rc = cpuhp_setup_state_nocalls(CPUHP_AP_ONLINE_DYN, |
| 100 | "x86/xen/hvm_guest:online", | 100 | "x86/xen/guest:online", |
| 101 | xen_cpu_up_online, NULL); | 101 | xen_cpu_up_online, NULL); |
| 102 | if (rc < 0) | 102 | if (rc < 0) |
| 103 | cpuhp_remove_state_nocalls(CPUHP_XEN_PREPARE); | 103 | cpuhp_remove_state_nocalls(CPUHP_XEN_PREPARE); |
