diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-06-03 13:14:54 +0000 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-06-03 13:14:54 +0000 |
commit | f2f4f0e234dfce8a6c106c9c997e8d4856661e91 (patch) | |
tree | 6580079135c2f79baea48b0861332f0c1951a4a5 /xen/include/xen/smp.h | |
parent | ec8deab9df116e31ecdc221de9f348b265e71c8a (diff) | |
download | xen-f2f4f0e234dfce8a6c106c9c997e8d4856661e91.tar.gz xen-f2f4f0e234dfce8a6c106c9c997e8d4856661e91.tar.bz2 xen-f2f4f0e234dfce8a6c106c9c997e8d4856661e91.zip |
bitkeeper revision 1.1662 (42a057ceLMHS_nHxLb-mZCG6csf27A)
All cpu bitmasks in Xen now use the cpumask_t type and its operators.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/smp.h')
-rw-r--r-- | xen/include/xen/smp.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/xen/include/xen/smp.h b/xen/include/xen/smp.h index 2278308525..19e91b0fe0 100644 --- a/xen/include/xen/smp.h +++ b/xen/include/xen/smp.h @@ -22,8 +22,9 @@ */ extern void smp_send_stop(void); -extern void smp_send_event_check_mask(unsigned long cpu_mask); -#define smp_send_event_check_cpu(_cpu) smp_send_event_check_mask(1<<(_cpu)) +extern void smp_send_event_check_mask(cpumask_t mask); +#define smp_send_event_check_cpu(cpu) \ + smp_send_event_check_mask(cpumask_of_cpu(cpu)) /* * Prepare machine for booting other CPUs. @@ -86,8 +87,8 @@ void smp_prepare_boot_cpu(void); * These macros fold the SMP functionality into a single CPU system */ -#define smp_send_event_check_mask(_m) ((void)0) -#define smp_send_event_check_cpu(_p) ((void)0) +#define smp_send_event_check_mask(m) ((void)0) +#define smp_send_event_check_cpu(p) ((void)0) #ifndef __smp_processor_id #define smp_processor_id() 0 #endif |