]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit779a3a7abae2db39d0a5dd0334880152f29d14c2
tree10b94ae33a1923e8d9ab81a85ae7b9b83a58381d
parent3a447cfc098721fba7968172fbd2734536f8ab0f
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: 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