aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86/kernel/apic/vector.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2023-08-08 15:03:40 -0700
committerDave Hansen <dave.hansen@linux.intel.com>2023-08-09 11:58:16 -0700
commit49062454a3eb4a27add7a3df57e7a34266f6a760 (patch)
treee4d1f35cfef2ba7c97dafc52603296ca4b45ffe6 /arch/x86/kernel/apic/vector.c
parentx86/cpu: Remove unused physid_*() nonsense (diff)
downloadwireguard-linux-49062454a3eb4a27add7a3df57e7a34266f6a760.tar.xz
wireguard-linux-49062454a3eb4a27add7a3df57e7a34266f6a760.zip
x86/apic: Rename disable_apic
It reflects a state and not a command. Make it bool while at it. 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/vector.c')
-rw-r--r--arch/x86/kernel/apic/vector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/vector.c b/arch/x86/kernel/apic/vector.c
index 01c359a66b04..04655b7e3107 100644
--- a/arch/x86/kernel/apic/vector.c
+++ b/arch/x86/kernel/apic/vector.c
@@ -547,7 +547,7 @@ static int x86_vector_alloc_irqs(struct irq_domain *domain, unsigned int virq,
struct irq_data *irqd;
int i, err, node;
- if (disable_apic)
+ if (apic_is_disabled)
return -ENXIO;
/*