summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/fpu
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2019-07-04 08:07:43 +0200
committerThomas Gleixner <tglx@linutronix.de>2019-07-07 12:01:47 +0200
commit7891bc0ab739a31538b5f879a523232b8b07a0d3 (patch)
treefce326bd52ad9bd31ff23e6daa5ba9175045bdc0 /arch/x86/include/asm/fpu
parent9838e3bff0f92f23fcd50fe1ff1d4b3e91b8a448 (diff)
downloadlinux-stable-7891bc0ab739a31538b5f879a523232b8b07a0d3.tar.gz
linux-stable-7891bc0ab739a31538b5f879a523232b8b07a0d3.tar.bz2
linux-stable-7891bc0ab739a31538b5f879a523232b8b07a0d3.zip
x86/fpu: Inline fpu__xstate_clear_all_cpu_caps()
All fpu__xstate_clear_all_cpu_caps() does is to invoke one simple function since commit 73e3a7d2a7c3b ("x86/fpu: Remove the explicit clearing of XSAVE dependent features") so invoke that function directly and remove the wrapper. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20190704060743.rvew4yrjd6n33uzx@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/fpu')
-rw-r--r--arch/x86/include/asm/fpu/xstate.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/fpu/xstate.h b/arch/x86/include/asm/fpu/xstate.h
index 7e42b285c856..c6136d79f8c0 100644
--- a/arch/x86/include/asm/fpu/xstate.h
+++ b/arch/x86/include/asm/fpu/xstate.h
@@ -47,7 +47,6 @@ extern u64 xstate_fx_sw_bytes[USER_XSTATE_FX_SW_WORDS];
extern void __init update_regset_xstate_info(unsigned int size,
u64 xstate_mask);
-void fpu__xstate_clear_all_cpu_caps(void);
void *get_xsave_addr(struct xregs_state *xsave, int xfeature_nr);
const void *get_xsave_field_ptr(int xfeature_nr);
int using_compacted_format(void);