diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-09-23 13:50:12 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-09-23 13:50:12 +0200 |
commit | 955921289dcdbc49b46a731ec07978fb7d4e1fc7 (patch) | |
tree | 10b94ae33a1923e8d9ab81a85ae7b9b83a58381d /drivers/acpi/processor_idle.c | |
parent | bd805274577457f301bf826f86543f550cf5c1ef (diff) | |
download | lwn-955921289dcdbc49b46a731ec07978fb7d4e1fc7.tar.gz lwn-955921289dcdbc49b46a731ec07978fb7d4e1fc7.zip |
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: aa6b43d57f99 ("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>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r-- | drivers/acpi/processor_idle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 7ecb90e90afd..f66236cff69b 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -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 |