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:
c795213
)
ACPI/idle: Use explicit broadcast control function
author
Thomas Gleixner
<
[email protected]
>
Fri, 3 Apr 2015 00:12:03 +0000
(
02:12
+0200)
committer
Ingo Molnar
<
[email protected]
>
Fri, 3 Apr 2015 06:44:34 +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: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
drivers/acpi/processor_idle.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/processor_idle.c
b/drivers/acpi/processor_idle.c
index be5479739287ce709145b88273b75b6b38bbb93e..53355196c5c634a2186af966d7265dc6c4b12395 100644
(file)
--- a/
drivers/acpi/processor_idle.c
+++ b/
drivers/acpi/processor_idle.c
@@
-178,11
+178,10
@@
static void lapic_timer_state_broadcast(struct acpi_processor *pr,
int state = cx - pr->power.states;
if (state >= pr->power.timer_broadcast_on_state) {
- unsigned long reason;
-
- reason = broadcast ? CLOCK_EVT_NOTIFY_BROADCAST_ENTER :
- CLOCK_EVT_NOTIFY_BROADCAST_EXIT;
- clockevents_notify(reason, &pr->id);
+ if (broadcast)
+ tick_broadcast_enter();
+ else
+ tick_broadcast_exit();
}
}