diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2023-08-08 15:03:52 -0700 |
|---|---|---|
| committer | Dave Hansen <dave.hansen@linux.intel.com> | 2023-08-09 11:58:22 -0700 |
| commit | 78c32000848c9a3af69e2431d17caed7b555e0ea (patch) | |
| tree | 68de9cedab0fb22cc6a77db0efa940f2a75aa226 /arch/x86/kernel/apic/probe_32.c | |
| parent | f52e2c3e96d949b229897dc234679553c179f6b2 (diff) | |
| download | linux-78c32000848c9a3af69e2431d17caed7b555e0ea.tar.gz linux-78c32000848c9a3af69e2431d17caed7b555e0ea.tar.bz2 linux-78c32000848c9a3af69e2431d17caed7b555e0ea.zip | |
x86/apic: Get rid of apic_phys
No need for an extra variable to find out whether the APIC has been mapped
or is accessible (X2APIC mode).
Provide an inline for this and check apic_mmio_base which is only set when
the local APIC has been mapped.
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/kernel/apic/probe_32.c')
0 files changed, 0 insertions, 0 deletions
