diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-03-16 00:20:25 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-03-16 00:20:25 +0300 |
commit | cf5019816d87cdef7f81beea0c008bacae1c0aaa (patch) | |
tree | c3f3527e1df373b6edd2ba21159508dad5d70fd9 /arch/riscv/kernel | |
parent | 3b53f5535d30ed8667f84042bff35163d0fa5483 (diff) | |
parent | 763c8bed8c05ffcce8cba882e69cd6b03df07019 (diff) | |
download | linux-cf5019816d87cdef7f81beea0c008bacae1c0aaa.tar.xz |
Merge tag 'kvm-riscv-5.18-1' of https://github.com/kvm-riscv/linux into HEAD
KVM/riscv changes for 5.18
- Prevent KVM_COMPAT from being selected
- Refine __kvm_riscv_switch_to() implementation
- RISC-V SBI v0.3 support
Diffstat (limited to 'arch/riscv/kernel')
-rw-r--r-- | arch/riscv/kernel/cpu_ops_sbi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kernel/cpu_ops_sbi.c b/arch/riscv/kernel/cpu_ops_sbi.c index dae29cbfe550..2e16f6732cdf 100644 --- a/arch/riscv/kernel/cpu_ops_sbi.c +++ b/arch/riscv/kernel/cpu_ops_sbi.c @@ -111,7 +111,7 @@ static int sbi_cpu_is_stopped(unsigned int cpuid) rc = sbi_hsm_hart_get_status(hartid); - if (rc == SBI_HSM_HART_STATUS_STOPPED) + if (rc == SBI_HSM_STATE_STOPPED) return 0; return rc; } |