projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f60e230
)
intel_idle: use CPU_TASKS_FROZEN instead of a numeric constant
author
Prarit Bhargava
<prarit@redhat.com>
Wed, 23 Oct 2013 13:44:51 +0000
(09:44 -0400)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Wed, 30 Oct 2013 00:25:07 +0000
(
01:25
+0100)
Small fixup to use CPU_TASKS_FROZEN instead of 0xf.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/idle/intel_idle.c
patch
|
blob
|
history
diff --git
a/drivers/idle/intel_idle.c
b/drivers/idle/intel_idle.c
index 33e599ebbe96ccb024239964b5938f1bad5aff15..3f95a533c1a8f17de582b2abe28e51bd77006fd2 100644
(file)
--- a/
drivers/idle/intel_idle.c
+++ b/
drivers/idle/intel_idle.c
@@
-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)