x86/fpu: Clean up xstate feature reservation
authorIngo Molnar <mingo@kernel.org>
Mon, 4 May 2015 07:04:56 +0000 (09:04 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:48:10 +0000 (15:48 +0200)
commit489e9c018854158722eb7123f9efefe67af5c4bd
tree1efa593c12b667dd654915359a45572dd35c0ef9
parent39f1acd243725b4b20caa37a81b6c8f641b505b8
x86/fpu: Clean up xstate feature reservation

Put MPX support into its separate high level structure, and
also replace the fixed YMM, LWP and MPX structures in
xregs_state with just reservations - their exact offsets
in the structure will depend on the CPU and no code actually
relies on those fields.

No change in functionality.

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/types.h