Skip to content

Commit a472e4b

Browse files
committed
intel_idle: Define CPUIDLE_FLAG_TLB_FLUSHED as BIT(16)
Use the BIT() macro for defining CPUIDLE_FLAG_TLB_FLUSHED instead of the hex bit encoding of the same value. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 6eacb15 commit a472e4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/idle/intel_idle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ static unsigned int mwait_substates __initdata;
101101
* If this flag is set, SW flushes the TLB, so even if the
102102
* HW doesn't do the flushing, this flag is safe to use.
103103
*/
104-
#define CPUIDLE_FLAG_TLB_FLUSHED 0x10000
104+
#define CPUIDLE_FLAG_TLB_FLUSHED BIT(16)
105105

106106
/*
107107
* MWAIT takes an 8-bit "hint" in EAX "suggesting"

0 commit comments

Comments
 (0)