Skip to contentSkip to conversation

intel_idle, use CPU_TASKS_FROZEN

PATCH New Prarit Bhargava 1 participant 1 message Oct 23, 2013 Intel idle driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 intel_idle, use CPU_TASKS_FROZEN

Small fixup to use CPU_TASKS_FROZEN instead of 0xf.

---
 drivers/idle/intel_idle.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/idle/intel_idle.c +1 -1
index fa6964d..a54358f 100644
@@ -390,7 +390,7 @@ static int cpu_hotplug_notify(struct notifier_block *n,
 	int hotcpu = (unsigned long)hcpu;
 	struct cpuidle_device *dev;
 
-	switch (action & 0xf) {
+	switch (action & ~CPU_TASKS_FROZEN) {
 	case CPU_ONLINE:
 
 		if (lapic_timer_reliable_states != LAPIC_TIMER_ALWAYS_RELIABLE)
Signature · 1 line
1.7.9.3