diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-10-22 20:55:54 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-10-23 17:05:19 +0200 |
commit | 582b01b6ab2714a0a4d554cea7f0d4efeaa2154d (patch) | |
tree | 82468a69ab3c98b515b003404b9cc667160a83de /arch/x86/include | |
parent | d69c1382e1b73a0496a70872a035ca2b22d074e5 (diff) | |
download | linux-582b01b6ab2714a0a4d554cea7f0d4efeaa2154d.tar.gz linux-582b01b6ab2714a0a4d554cea7f0d4efeaa2154d.tar.bz2 linux-582b01b6ab2714a0a4d554cea7f0d4efeaa2154d.zip |
x86/fpu: Remove old KVM FPU interface
No more users.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211022185313.074853631@linutronix.de
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/fpu/api.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/fpu/api.h b/arch/x86/include/asm/fpu/api.h index 5e5f172c1a9d..e9379d7e7743 100644 --- a/arch/x86/include/asm/fpu/api.h +++ b/arch/x86/include/asm/fpu/api.h @@ -131,14 +131,12 @@ static inline void fpstate_init_soft(struct swregs_state *soft) {} DECLARE_PER_CPU(struct fpu *, fpu_fpregs_owner_ctx); /* fpstate-related functions which are exported to KVM */ -extern void fpu_init_fpstate_user(struct fpu *fpu); extern void fpstate_clear_xstate_component(struct fpstate *fps, unsigned int xfeature); /* KVM specific functions */ extern bool fpu_alloc_guest_fpstate(struct fpu_guest *gfpu); extern void fpu_free_guest_fpstate(struct fpu_guest *gfpu); extern int fpu_swap_kvm_fpstate(struct fpu_guest *gfpu, bool enter_guest); -extern void fpu_swap_kvm_fpu(struct fpu *save, struct fpu *rstor, u64 restore_mask); extern void fpu_copy_guest_fpstate_to_uabi(struct fpu_guest *gfpu, void *buf, unsigned int size, u32 pkru); extern int fpu_copy_uabi_to_guest_fpstate(struct fpu_guest *gfpu, const void *buf, u64 xcr0, u32 *vpkru); |