]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ACPI: processor: Fix build for ARCH_APICTIMER_STOPS_ON_C3 unset
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 23 Sep 2020 11:50:12 +0000 (13:50 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 23 Sep 2020 11:50:12 +0000 (13:50 +0200)
Fix the lapic_timer_needs_broadcast() stub for
ARCH_APICTIMER_STOPS_ON_C3 unset to actually return
a value.

Fixes: ca0b43305061 ("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>
drivers/acpi/processor_idle.c

index 7ecb90e90afdee578cceec676f3c1caae6bf1333..f66236cff69b02ee6a8e3ac8014c35e49571a8a6 100644 (file)
@@ -176,6 +176,7 @@ static void lapic_timer_propagate_broadcast(struct acpi_processor *pr) { }
 static bool lapic_timer_needs_broadcast(struct acpi_processor *pr,
                                        struct acpi_processor_cx *cx)
 {
+       return false;
 }
 
 #endif