aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/fpu/internal.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-06-23 14:01:46 +0200
committerBorislav Petkov <bp@suse.de>2021-06-23 17:49:47 +0200
commit5a32fac8dbe8adc08c10e2c8770c95aebfc627cd (patch)
treec2050a16b5522c3a2638bd136b2437022c033235 /arch/x86/include/asm/fpu/internal.h
parentx86/fpu: Remove fpstate_sanitize_xstate() (diff)
downloadlinux-dev-5a32fac8dbe8adc08c10e2c8770c95aebfc627cd.tar.xz
linux-dev-5a32fac8dbe8adc08c10e2c8770c95aebfc627cd.zip
x86/fpu/regset: Move fpu__read_begin() into regset
The function can only be used from the regset get() callbacks safely. So there is no reason to have it globally exposed. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210623121453.234942936@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/fpu/internal.h')
-rw-r--r--arch/x86/include/asm/fpu/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/fpu/internal.h b/arch/x86/include/asm/fpu/internal.h
index 0148791acc49..4c669f3b54b4 100644
--- a/arch/x86/include/asm/fpu/internal.h
+++ b/arch/x86/include/asm/fpu/internal.h
@@ -26,7 +26,6 @@
/*
* High level FPU state handling functions:
*/
-extern void fpu__prepare_read(struct fpu *fpu);
extern void fpu__prepare_write(struct fpu *fpu);
extern void fpu__save(struct fpu *fpu);
extern int fpu__restore_sig(void __user *buf, int ia32_frame);