diff options
| author | Dave Hansen <[email protected]> | 2024-12-13 20:50:30 +0000 |
|---|---|---|
| committer | Dave Hansen <[email protected]> | 2024-12-18 14:17:30 +0000 |
| commit | 262fba55708b60a063b30d103963477dc5026f8c (patch) | |
| tree | b591a6e4989bc5252366cd9bc2c837f858c6e237 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | x86/cpu: Use MWAIT leaf definition (diff) | |
| download | kernel-262fba55708b60a063b30d103963477dc5026f8c.tar.gz kernel-262fba55708b60a063b30d103963477dc5026f8c.zip | |
x86/cpu: Remove unnecessary MwAIT leaf checks
The CPUID leaf dependency checker will remove X86_FEATURE_MWAIT if
the CPUID level is below the required level (CPUID_MWAIT_LEAF).
Thus, if you check X86_FEATURE_MWAIT you do not need to also
check the CPUID level.
Signed-off-by: Dave Hansen <[email protected]>
Link: https://lore.kernel.org/all/20241213205030.9B42B458%40davehans-spike.ostc.intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
