aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorDave Hansen <[email protected]>2015-09-02 23:31:28 +0000
committerIngo Molnar <[email protected]>2015-09-14 10:21:58 +0000
commit8a93c9e0dca131a0bf330ea9d1e57c1bcf3824ad (patch)
treea4fba9b4e589c29571882cf97f543ce452dccba5 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentx86/fpu: Rename XFEATURES_NR_MAX (diff)
downloadkernel-8a93c9e0dca131a0bf330ea9d1e57c1bcf3824ad.tar.gz
kernel-8a93c9e0dca131a0bf330ea9d1e57c1bcf3824ad.zip
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions