diff options
author | Dave Hansen <[email protected]> | 2015-09-02 16:31:28 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-09-14 12:21:58 +0200 |
commit | 8a93c9e0dca131a0bf330ea9d1e57c1bcf3824ad (patch) | |
tree | a4fba9b4e589c29571882cf97f543ce452dccba5 /tools/perf/scripts/python | |
parent | dad8c4fe8530f28dde73dadd1d588e3aaa507562 (diff) |
x86/fpu: Rework XSTATE_* macros to remove magic '2'
The 'xstate.c' code has a bunch of references to '2'. This
is because we have a lot more work to do for the "extended"
xstates than the "legacy" ones and state component 2 is the
first "extended" state.
This patch replaces all of the instances of '2' with
FIRST_EXTENDED_XFEATURE, which clearly explains what is
going on.
Signed-off-by: Dave Hansen <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tim Chen <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions