summaryrefslogtreecommitdiff
path: root/arch/m68k/include/asm/mcfdma.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-04 00:01:46 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2009-02-04 01:22:40 (GMT)
commit06fc732c33a7ff5e4c91bcf4a6ca86b5e335ad9a (patch)
treeeb6a202f5bc01a5c8ac9f7245b9097f18ac44e57 /arch/m68k/include/asm/mcfdma.h
parentb1792e367053968f2ddb48bc911d314143ce6242 (diff)
downloadlinux-fsl-qoriq-06fc732c33a7ff5e4c91bcf4a6ca86b5e335ad9a.tar.xz
xen: disable interrupts before saving in percpu
Impact: Fix race condition xen_mc_batch has a small preempt race where it takes the address of a percpu variable immediately before disabling interrupts, thereby leaving a small window in which we may migrate to another cpu and save the flags in the wrong percpu variable. Disable interrupts before saving the old flags in a percpu. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/m68k/include/asm/mcfdma.h')
0 files changed, 0 insertions, 0 deletions