diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/processor_idle.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index be5479739287..53355196c5c6 100644 --- 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, | |||
178 | int state = cx - pr->power.states; | 178 | int state = cx - pr->power.states; |
179 | 179 | ||
180 | if (state >= pr->power.timer_broadcast_on_state) { | 180 | if (state >= pr->power.timer_broadcast_on_state) { |
181 | unsigned long reason; | 181 | if (broadcast) |
182 | 182 | tick_broadcast_enter(); | |
183 | reason = broadcast ? CLOCK_EVT_NOTIFY_BROADCAST_ENTER : | 183 | else |
184 | CLOCK_EVT_NOTIFY_BROADCAST_EXIT; | 184 | tick_broadcast_exit(); |
185 | clockevents_notify(reason, &pr->id); | ||
186 | } | 185 | } |
187 | } | 186 | } |
188 | 187 | ||