aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/kexec.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-11-08 10:33:02 +0100
committerJan Beulich <jbeulich@suse.com>2011-11-08 10:33:02 +0100
commitd814eb02551c8d5150947bc5418eff42ec93a07e (patch)
tree1b7fae94255ff3e468d5f7ebb06c33e4daca6dfc /xen/common/kexec.c
parent8996e454310d4fa3f587b65ccfe57e366e68a204 (diff)
downloadxen-d814eb02551c8d5150947bc5418eff42ec93a07e.tar.gz
xen-d814eb02551c8d5150947bc5418eff42ec93a07e.tar.bz2
xen-d814eb02551c8d5150947bc5418eff42ec93a07e.zip
eliminate cpu_test_xyz()
Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Diffstat (limited to 'xen/common/kexec.c')
-rw-r--r--xen/common/kexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/common/kexec.c b/xen/common/kexec.c
index cd37636cf8..1a3b52382d 100644
--- a/xen/common/kexec.c
+++ b/xen/common/kexec.c
@@ -169,7 +169,7 @@ void kexec_crash_save_cpu(void)
ELF_Prstatus *prstatus;
crash_xen_core_t *xencore;
- if ( cpu_test_and_set(cpu, crash_saved_cpus) )
+ if ( cpumask_test_and_set_cpu(cpu, &crash_saved_cpus) )
return;
prstatus = (ELF_Prstatus *)ELFNOTE_DESC(note);
@@ -187,7 +187,7 @@ crash_xen_info_t *kexec_crash_save_info(void)
crash_xen_info_t info;
crash_xen_info_t *out = (crash_xen_info_t *)ELFNOTE_DESC(xen_crash_note);
- BUG_ON(!cpu_test_and_set(cpu, crash_saved_cpus));
+ BUG_ON(!cpumask_test_and_set_cpu(cpu, &crash_saved_cpus));
memset(&info, 0, sizeof(info));
info.xen_major_version = xen_major_version();