diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-10-30 12:36:40 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-11-05 21:40:22 +0100 |
commit | bf41bb57b2c1d305d594c15bab8d387b1f5b75dc (patch) | |
tree | 2631505d1c530c8886cd960c635555d2d4db9764 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 59b723cd2adbac2a34fc8e12c74ae26ae45bf230 (diff) | |
download | linux-bf41bb57b2c1d305d594c15bab8d387b1f5b75dc.tar.gz linux-bf41bb57b2c1d305d594c15bab8d387b1f5b75dc.tar.bz2 linux-bf41bb57b2c1d305d594c15bab8d387b1f5b75dc.zip |
ACPI: processor_perflib: extend X86 dependency
The majority of the processor_perflib code is only used by cpufreq
drivers on the x86 architecture and makes no sense without the
x86 SMI interactions that rely on I/O port access.
Replace the existing #ifdef checks with one that covers all of the
code that is only used by x86 drivers, saving a little bit
of kernel code size on other architectures.
There is likely more code under CONFIG_ACPI_PROCESSOR that falls
into this category, but changing those would require a larger
rework.
Suggested-by: Rafael J. Wysocki <rafael@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20241030123701.1538919-1-arnd@kernel.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions