diff options
author | Thomas Gleixner <[email protected]> | 2023-08-08 15:03:58 -0700 |
---|---|---|
committer | Dave Hansen <[email protected]> | 2023-08-09 11:58:25 -0700 |
commit | 2f6df03f80a13ab2e1eb4bf00bbd5e63255756db (patch) | |
tree | 70c29adb7d0673045b8815e445e15beeef469372 /tools/perf/scripts/python/libxed.py | |
parent | 4114e1686fdc350e4191ca670710b3fa9bd10947 (diff) |
x86/apic: Nuke empty init_apic_ldr() callbacks
apic::init_apic_ldr() is only invoked when the APIC is initialized. So
there is really no point in having:
- Default empty callbacks all over the place
- Two implementations of the actual LDR init function where one is
just unreadable gunk but does exactly the same as the other.
Make the apic::init_apic_ldr() invocation conditional, remove the empty
callbacks and consolidate the two implementation into one.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Michael Kelley <[email protected]>
Tested-by: Sohil Mehta <[email protected]>
Tested-by: Juergen Gross <[email protected]> # Xen PV (dom0 and unpriv. guest)
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions