[PATCH v7 068/120] x86/idle: Remove unused CPUID(0x5) symbols
"Ahmed S. Darwish" <[email protected]> Thu, 28 May 2026 17:38:30 +0200
| Newsgroups | dev.linux.lists.x86-cpuid,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
All CPUID(0x5) call sites have been converted to the CPUID API, where x86-cpuid-db data types with full C99 bitfields are returned. Remove the no longer used CPUID(0x5).ECX bitmasks. Signed-off-by: Ahmed S. Darwish <[email protected]> --- arch/x86/include/asm/mwait.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/include/asm/mwait.h b/arch/x86/include/asm/mwait.h index 40c827e7929e..ef400fa6343f 100644 --- a/arch/x86/include/asm/mwait.h +++ b/arch/x86/include/asm/mwait.h @@ -14,9 +14,6 @@ #define MWAIT_HINT2CSTATE(hint) (((hint) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK) #define MWAIT_HINT2SUBSTATE(hint) ((hint) & MWAIT_CSTATE_MASK) -#define CPUID5_ECX_EXTENSIONS_SUPPORTED 0x1 -#define CPUID5_ECX_INTERRUPT_BREAK 0x2 - #define MWAIT_ECX_INTERRUPT_BREAK 0x1 #define MWAITX_ECX_TIMER_ENABLE BIT(1) #define MWAITX_MAX_WAIT_CYCLES UINT_MAX -- 2.54.0