]> Gentwo Git Trees - linux/.git/commit
ACPI: processor: idle: Add module import namespace
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 13 Aug 2025 10:36:04 +0000 (12:36 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 2 Sep 2025 14:08:53 +0000 (16:08 +0200)
commiteb58738d1546bababc77392968ece9c595b4f737
treea7b3c72ff1dc5e49bf6a266989614621c02527b1
parent7a8c994cbb2db3c5335cee35fd486557f5aaf7e1
ACPI: processor: idle: Add module import namespace

Add a new module import namespace called ACPI_PROCESSOR_IDLE for
functions exported from the non-modular part of the ACPI processor
driver to the modular part of it.

Export acpi_processor_claim_cst_control() and acpi_processor_evaluate_cst()
in that namespace to hide them from unrelated modules.

They are also used by the intel_idle driver, but it is non-modular,
so it can call them regardless of the way the symbols are exported.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/3376499.aeNJFYEL58@rafael.j.wysocki
drivers/acpi/acpi_processor.c
drivers/acpi/processor_idle.c