]> git.karo-electronics.de Git - linux-beck.git/commit
x86/fpu: Enumerate xfeature bits
authorIngo Molnar <mingo@kernel.org>
Tue, 28 Apr 2015 07:40:26 +0000 (09:40 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:56 +0000 (15:47 +0200)
commit677b98bdd5b93d89ad58b8a4679db086dfbaa854
treee3d70e24658e595f7bb095fef60c9d17522c04b5
parent33588b52228f6e94e970a05ead10f524f363ee44
x86/fpu: Enumerate xfeature bits

Transform the xstate masks into an enumerated list of xfeature bits.

This removes the hard coding of XFEATURES_NR_MAX.

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/include/asm/fpu/xstate.h