diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2023-08-08 15:03:59 -0700 |
|---|---|---|
| committer | Dave Hansen <dave.hansen@linux.intel.com> | 2023-08-09 11:58:26 -0700 |
| commit | 9a2a637af06621e69893e5d5cde3c0eba5aeba0f (patch) | |
| tree | 7476a2450e6ac0004cb95071ffc9bd2c8384cca9 /arch/x86/xen | |
| parent | 2f6df03f80a13ab2e1eb4bf00bbd5e63255756db (diff) | |
| download | linux-9a2a637af06621e69893e5d5cde3c0eba5aeba0f.tar.gz linux-9a2a637af06621e69893e5d5cde3c0eba5aeba0f.tar.bz2 linux-9a2a637af06621e69893e5d5cde3c0eba5aeba0f.zip | |
x86/apic: Nuke apic::apicid_to_cpu_present()
This is only used on 32bit and is a wrapper around
physid_set_mask_of_physid() in all 32bit APIC drivers.
Remove the callback and use physid_set_mask_of_physid() in the code
directly,
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Tested-by: Juergen Gross <jgross@suse.com> # Xen PV (dom0 and unpriv. guest)
Diffstat (limited to 'arch/x86/xen')
| -rw-r--r-- | arch/x86/xen/apic.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/xen/apic.c b/arch/x86/xen/apic.c index 1ff8f75e5c88..426f4a0ac664 100644 --- a/arch/x86/xen/apic.c +++ b/arch/x86/xen/apic.c @@ -152,7 +152,6 @@ static struct apic xen_pv_apic = { .ioapic_phys_id_map = default_ioapic_phys_id_map, /* Used on 32-bit */ .setup_apic_routing = NULL, .cpu_present_to_apicid = xen_cpu_present_to_apicid, - .apicid_to_cpu_present = physid_set_mask_of_physid, /* Used on 32-bit */ .phys_pkg_id = xen_phys_pkg_id, /* detect_ht */ .get_apic_id = xen_get_apic_id, |
