summaryrefslogtreecommitdiff
path: root/arch/x86/pci
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2013-08-15 12:21:04 (GMT)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-08-20 14:02:03 (GMT)
commitfb58e30091c74967f6b8e98b3c1f292782f92b41 (patch)
tree089af5ce298915f3825545319ec58a185ca2ab90 /arch/x86/pci
parent781575cd8127c30a0444953bcd0b6d1e882df13e (diff)
downloadlinux-fb58e30091c74967f6b8e98b3c1f292782f92b41.tar.xz
x86/xen: disable premption when enabling local irqs
If CONFIG_PREEMPT is enabled then xen_enable_irq() (and xen_restore_fl()) could be preempted and rescheduled on a different VCPU in between the clear of the mask and the check for pending events. This may result in events being lost as the upcall will check for pending events on the wrong VCPU. Fix this by disabling preemption around the unmask and check for events. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/pci')
0 files changed, 0 insertions, 0 deletions