-
由 Thomas Gleixner 提交于
mainline inclusion from mainline-v5.14-rc1 commit 02b93c0b category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I590ZC CVE: NA Intel-SIG: commit 02b93c0b x86/fpu: Get rid of using_compacted_format(). -------------------------------- This function is pointlessly global and a complete misnomer because it's usage is related to both supervisor state checks and compacted format checks. Remove it and just make the conditions check the XSAVES feature. Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NBorislav Petkov <bp@suse.de> Reviewed-by: NBorislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210623121453.425493349@linutronix.deSigned-off-by: NLin Wang <lin.x.wang@intel.com>
c4a524e9