|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] x86/IRQ: use LOCK-free bit setting in init_irq_data()
commit a71f56be01c752bf87e2c4bf6ee08d9225d6b429
Author: Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Thu Nov 13 09:09:11 2025 +0100
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Nov 13 09:09:11 2025 +0100
x86/IRQ: use LOCK-free bit setting in init_irq_data()
Much like done later in the function, syscall and hypercall vectors can
have their bits set without use of LOCKed accesses.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
xen/arch/x86/irq.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/arch/x86/irq.c b/xen/arch/x86/irq.c
index ba2f02eb0c..80f7417d21 100644
--- a/xen/arch/x86/irq.c
+++ b/xen/arch/x86/irq.c
@@ -450,12 +450,12 @@ int __init init_irq_data(void)
#ifdef CONFIG_PV
/* Never allocate the Linux/BSD fast-trap vector. */
- set_bit(LEGACY_SYSCALL_VECTOR, used_vectors);
+ __set_bit(LEGACY_SYSCALL_VECTOR, used_vectors);
#endif
#ifdef CONFIG_PV32
/* Never allocate the hypercall vector. */
- set_bit(HYPERCALL_VECTOR, used_vectors);
+ __set_bit(HYPERCALL_VECTOR, used_vectors);
#endif
/*
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |