aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/multicalls.h
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@intel.com>2012-01-13 23:53:35 +0800
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-01-24 12:20:24 -0500
commit2113f4691663f033189bf43d7501c6d29cd685a5 (patch)
tree6e0ecc6096fd174470e41e7d08fdee925f79964d /arch/x86/xen/multicalls.h
parentxen/pciback: Support pci_reset_function, aka FLR or D3 support. (diff)
downloadlinux-dev-2113f4691663f033189bf43d7501c6d29cd685a5.tar.xz
linux-dev-2113f4691663f033189bf43d7501c6d29cd685a5.zip
xen: use this_cpu_xxx replace percpu_xxx funcs
percpu_xxx funcs are duplicated with this_cpu_xxx funcs, so replace them for further code clean up. I don't know much of xen code. But, since the code is in x86 architecture, the percpu_xxx is exactly same as this_cpu_xxx serials functions. So, the change is safe. Signed-off-by: Alex Shi <alex.shi@intel.com> Acked-by: Christoph Lameter <cl@gentwo.org> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/multicalls.h')
-rw-r--r--arch/x86/xen/multicalls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/multicalls.h b/arch/x86/xen/multicalls.h
index dee79b78a90f..9c2e74f9096c 100644
--- a/arch/x86/xen/multicalls.h
+++ b/arch/x86/xen/multicalls.h
@@ -47,7 +47,7 @@ static inline void xen_mc_issue(unsigned mode)
xen_mc_flush();
/* restore flags saved in xen_mc_batch */
- local_irq_restore(percpu_read(xen_mc_irq_flags));
+ local_irq_restore(this_cpu_read(xen_mc_irq_flags));
}
/* Set up a callback to be called when the current batch is flushed */