x86/IRQ: consolidate IRQ disabling when acquiring vector lock
authorJan Beulich <jbeulich@suse.com>
Thu, 3 Nov 2011 16:28:41 +0000 (17:28 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 3 Nov 2011 16:28:41 +0000 (17:28 +0100)
commit948d141b1a833b40342165ccb5681d9ef53cd420
tree1865a68a369146b9999bbb253ffb6a0664923634
parent792920245b119b7ff8decef93bfaa84b21e0e8bb
x86/IRQ: consolidate IRQ disabling when acquiring vector lock

__assign_irq_vector() doesn't need to disable interrupts (its callers
are required to when acquiring the lock), and set_desc_affinity() can
use the normal spin lock primitives.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/irq.c