diff options
author | Arnd Bergmann <[email protected]> | 2024-10-30 12:36:40 +0000 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2024-11-05 21:40:22 +0100 |
commit | bf41bb57b2c1d305d594c15bab8d387b1f5b75dc (patch) | |
tree | 2631505d1c530c8886cd960c635555d2d4db9764 /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | 59b723cd2adbac2a34fc8e12c74ae26ae45bf230 (diff) |
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 <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions