diff options
author | Jisheng Zhang <jszhang@kernel.org> | 2021-11-28 19:07:39 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-01-06 12:43:58 +0300 |
commit | 637ad6551b2801cdf9c76046cffc1abe1f5c2243 (patch) | |
tree | ccbd99c63bab896b024e2be9a1988d6c5137c8b5 /arch/riscv/kvm/vcpu_fp.c | |
parent | 4abed558b2cedebde400856e52800115d92e994a (diff) | |
download | linux-637ad6551b2801cdf9c76046cffc1abe1f5c2243.tar.xz |
RISC-V: KVM: make kvm_riscv_vcpu_fp_clean() static
There are no users outside vcpu_fp.c so make kvm_riscv_vcpu_fp_clean()
static.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'arch/riscv/kvm/vcpu_fp.c')
-rw-r--r-- | arch/riscv/kvm/vcpu_fp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kvm/vcpu_fp.c b/arch/riscv/kvm/vcpu_fp.c index 1b070152578f..4449a976e5a6 100644 --- a/arch/riscv/kvm/vcpu_fp.c +++ b/arch/riscv/kvm/vcpu_fp.c @@ -26,7 +26,7 @@ void kvm_riscv_vcpu_fp_reset(struct kvm_vcpu *vcpu) cntx->sstatus |= SR_FS_OFF; } -void kvm_riscv_vcpu_fp_clean(struct kvm_cpu_context *cntx) +static void kvm_riscv_vcpu_fp_clean(struct kvm_cpu_context *cntx) { cntx->sstatus &= ~SR_FS; cntx->sstatus |= SR_FS_CLEAN; |