]> git.karo-electronics.de Git - linux-beck.git/commit
x86/fpu: Simplify print_xstate_features()
authorIngo Molnar <mingo@kernel.org>
Tue, 28 Apr 2015 07:17:26 +0000 (09:17 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:55 +0000 (15:47 +0200)
commit33588b52228f6e94e970a05ead10f524f363ee44
tree1385bc7c51390303441ff6dad18fca970b8660c0
parent5b07343034ec9ebb0d443743c7381b25875d0067
x86/fpu: Simplify print_xstate_features()

We do a boot time printout of xfeatures in print_xstate_features(),
simplify this code to make use of the recently introduced cpu_has_xfeature()
method.

Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/fpu/xstate.c