diff options
author | Shannon Zhao <shannon.zhao@linux.alibaba.com> | 2019-12-02 15:42:11 +0800 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-01-19 18:03:31 +0000 |
commit | c3e35409b54e8833ab936e667e3e7fcb8bdace00 (patch) | |
tree | bd2dfd63bab45040051f45a03e24b85102064f46 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f5523423defb0d929e23813c8dd16c0131043a8c (diff) |
KVM: ARM: Call hyp_cpu_pm_exit at the right place
It doesn't needs to call hyp_cpu_pm_exit() in init_hyp_mode() when some
error occurs. hyp_cpu_pm_exit() only needs to be called in
kvm_arch_init() if init_subsystems() fails. So move hyp_cpu_pm_exit()
out from teardown_hyp_mode() and call it directly in kvm_arch_init().
Signed-off-by: Shannon Zhao <shannon.zhao@linux.alibaba.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/1575272531-3204-1-git-send-email-shannon.zhao@linux.alibaba.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions