intel_idle: Define CPUIDLE_FLAG_TLB_FLUSHED as BIT(16)
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 6 Feb 2020 17:45:39 +0000 (18:45 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Feb 2020 22:34:58 +0000 (23:34 +0100)
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 <rafael.j.wysocki@intel.com>
drivers/idle/intel_idle.c

index 9575615c8f4a974db0e6a84aad2a7667289906db..de1367d996c5dbad9af0b1bbdf5a56ddf213a4b9 100644 (file)
@@ -101,7 +101,7 @@ static unsigned int mwait_substates __initdata;
  * If this flag is set, SW flushes the TLB, so even if the
  * HW doesn't do the flushing, this flag is safe to use.
  */
-#define CPUIDLE_FLAG_TLB_FLUSHED       0x10000
+#define CPUIDLE_FLAG_TLB_FLUSHED       BIT(16)
 
 /*
  * MWAIT takes an 8-bit "hint" in EAX "suggesting"