diff options
author | Thomas Gleixner <[email protected]> | 2022-04-15 21:19:54 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2022-04-27 20:22:19 +0200 |
commit | 0dfaf3f6ecc0c7f4f876255aa82e8959d3721365 (patch) | |
tree | 18882f052822ae061437d6f1c7485187d1429262 /lib/mpi/mpi-sub-ui.c | |
parent | 138a7f9c6beae8d652113b8e7a44994b4200bbcd (diff) |
x86/aperfmperf: Untangle Intel and AMD frequency invariance init
AMD boot CPU initialization happens late via ACPI/CPPC which prevents the
Intel parts from being marked __init.
Split out the common code and provide a dedicated interface for the AMD
initialization and mark the Intel specific code and data __init.
The remaining text size is almost cut in half:
text: 2614 -> 1350
init.text: 0 -> 786
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Rafael J. Wysocki <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Paul E. McKenney <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions