ACPI: processor/idle: Annotate more functions to live in cpuidle section
authorGuilherme G. Piccoli <gpiccoli@igalia.com>
Tue, 7 Jun 2022 22:24:58 +0000 (19:24 -0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 9 Jun 2022 18:43:29 +0000 (20:43 +0200)
commit409dfdcaffb266acfc1f33529a26b1443c9332d4
tree9428e35d6cbb0ceba31a08c274ba822b82adc0c8
parentf2906aa863381afb0015a9eb7fefad885d4e5a56
ACPI: processor/idle: Annotate more functions to live in cpuidle section

Commit 6727ad9e206c ("nmi_backtrace: generate one-line reports for idle cpus")
introduced a new text section called cpuidle; with that, we have a mechanism
to add idling functions in such section and skip them from nmi_backtrace
output, since they're useless and potentially flooding for such report.

Happens that inlining might cause some real idle functions to end-up
outside of such section; this is currently the case of ACPI processor_idle
driver; the functions acpi_idle_enter_* do inline acpi_idle_do_entry(),
hence they stay out of the cpuidle section.
Fix that by marking such functions to also live in the cpuidle section.

Fixes: 6727ad9e206c ("nmi_backtrace: generate one-line reports for idle cpus")
Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_idle.c