Skip to content

Commit 9559212

Browse files
committed
ACPI: processor: Fix build for ARCH_APICTIMER_STOPS_ON_C3 unset
Fix the lapic_timer_needs_broadcast() stub for ARCH_APICTIMER_STOPS_ON_C3 unset to actually return a value. Fixes: aa6b43d ("ACPI: processor: Use CPUIDLE_FLAG_TIMER_STOP") Reported-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent bd80527 commit 9559212

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/acpi/processor_idle.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ static void lapic_timer_propagate_broadcast(struct acpi_processor *pr) { }
176176
static bool lapic_timer_needs_broadcast(struct acpi_processor *pr,
177177
struct acpi_processor_cx *cx)
178178
{
179+
return false;
179180
}
180181

181182
#endif

0 commit comments

Comments
 (0)