diff options
| author | Rafael J. Wysocki <[email protected]> | 2020-09-23 11:50:12 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2020-09-23 11:50:12 +0000 |
| commit | 955921289dcdbc49b46a731ec07978fb7d4e1fc7 (patch) | |
| tree | 10b94ae33a1923e8d9ab81a85ae7b9b83a58381d /drivers/acpi/processor_idle.c | |
| parent | cpuidle: Drop misleading comments about RCU usage (diff) | |
| download | kernel-955921289dcdbc49b46a731ec07978fb7d4e1fc7.tar.gz kernel-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 <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
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 |
