OSDN Git Service

x86/fpu: Inline fpu__xstate_clear_all_cpu_caps()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 4 Jul 2019 06:07:43 +0000 (08:07 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 7 Jul 2019 10:01:47 +0000 (12:01 +0200)
commit7891bc0ab739a31538b5f879a523232b8b07a0d3
treefce326bd52ad9bd31ff23e6daa5ba9175045bdc0
parent9838e3bff0f92f23fcd50fe1ff1d4b3e91b8a448
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
arch/x86/include/asm/fpu/xstate.h
arch/x86/kernel/fpu/init.c
arch/x86/kernel/fpu/xstate.c