projects
/
users
/
jedix
/
linux-maple.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4abed55
)
RISC-V: KVM: make kvm_riscv_vcpu_fp_clean() static
author
Jisheng Zhang <jszhang@kernel.org>
Sun, 28 Nov 2021 16:07:39 +0000
(
00:07
+0800)
committer
Anup Patel <anup@brainfault.org>
Thu, 6 Jan 2022 09:43:58 +0000
(15:13 +0530)
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>
arch/riscv/kvm/vcpu_fp.c
patch
|
blob
|
history
diff --git
a/arch/riscv/kvm/vcpu_fp.c
b/arch/riscv/kvm/vcpu_fp.c
index 1b070152578f5a4de4b5d348589d5386cae3c6b0..4449a976e5a6bab8fb691b81db972fc82ee5b12a 100644
(file)
--- 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;