x86/IRQ: use LOCK-free bit setting in init_irq_data()
PATCH 1/1 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 <[email protected]>
xen/arch/x86/irq.c +2 -2
@@ -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 /*
Quoted 4 lines · Jan Beulich
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 <[email protected]>
Reviewed-by Andrew Cooper <[email protected]>