File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -693,4 +693,8 @@ static inline bool guest_hyp_sve_traps_enabled(const struct kvm_vcpu *vcpu)
693
693
return __guest_hyp_cptr_xen_trap_enabled (vcpu , ZEN );
694
694
}
695
695
696
+ static inline void kvm_vcpu_enable_ptrauth (struct kvm_vcpu * vcpu )
697
+ {
698
+ vcpu_set_flag (vcpu , GUEST_HAS_PTRAUTH );
699
+ }
696
700
#endif /* __ARM64_KVM_EMULATE_H__ */
Original file line number Diff line number Diff line change @@ -167,11 +167,6 @@ static void kvm_vcpu_reset_sve(struct kvm_vcpu *vcpu)
167
167
memset (vcpu -> arch .sve_state , 0 , vcpu_sve_state_size (vcpu ));
168
168
}
169
169
170
- static void kvm_vcpu_enable_ptrauth (struct kvm_vcpu * vcpu )
171
- {
172
- vcpu_set_flag (vcpu , GUEST_HAS_PTRAUTH );
173
- }
174
-
175
170
/**
176
171
* kvm_reset_vcpu - sets core registers and sys_regs to reset value
177
172
* @vcpu: The VCPU pointer
You can’t perform that action at this time.
0 commit comments