projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7815701
)
intel_idle: Use explicit broadcast oneshot control function
author
Thomas Gleixner
<
[email protected]
>
Fri, 3 Apr 2015 00:14:23 +0000
(
02:14
+0200)
committer
Ingo Molnar
<
[email protected]
>
Fri, 3 Apr 2015 06:44:35 +0000
(08:44 +0200)
Replace the clockevents_notify() call with an explicit function call.
Signed-off-by: Thomas Gleixner <
[email protected]
>
Signed-off-by: Rafael J. Wysocki <
[email protected]
>
Cc: Len Brown <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
drivers/idle/intel_idle.c
patch
|
blob
|
history
diff --git
a/drivers/idle/intel_idle.c
b/drivers/idle/intel_idle.c
index 93f84f7f0586aa01a48b8e088d5567b9a2061704..5c979d0667a2210d2d73873e8766d07ea0facb22 100644
(file)
--- a/
drivers/idle/intel_idle.c
+++ b/
drivers/idle/intel_idle.c
@@
-638,12
+638,12
@@
static int intel_idle(struct cpuidle_device *dev,
leave_mm(cpu);
if (!(lapic_timer_reliable_states & (1 << (cstate))))
-
clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &cpu
);
+
tick_broadcast_enter(
);
mwait_idle_with_hints(eax, ecx);
if (!(lapic_timer_reliable_states & (1 << (cstate))))
-
clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &cpu
);
+
tick_broadcast_exit(
);
return index;
}