diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-10-20 11:27:51 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-10-20 11:27:51 +0100 |
commit | 96491f3ad56627c73b1838e2b2d6acb39bc26599 (patch) | |
tree | 68a26d3762ad7b080108f77370693536a904a5d2 /xen/include/xen/smp.h | |
parent | 27a9d6d6143f17e2cc2f6426b8a1e2843f7fe705 (diff) | |
download | xen-96491f3ad56627c73b1838e2b2d6acb39bc26599.tar.gz xen-96491f3ad56627c73b1838e2b2d6acb39bc26599.tar.bz2 xen-96491f3ad56627c73b1838e2b2d6acb39bc26599.zip |
smp_call_function() must be usable as an expression
return an integer.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/smp.h')
-rw-r--r-- | xen/include/xen/smp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/xen/smp.h b/xen/include/xen/smp.h index 959657d856..a99ea486f6 100644 --- a/xen/include/xen/smp.h +++ b/xen/include/xen/smp.h @@ -90,7 +90,7 @@ void smp_prepare_boot_cpu(void); #define smp_processor_id() 0 #endif #define hard_smp_processor_id() 0 -#define smp_call_function(func,info,retry,wait) do {} while (0) +#define smp_call_function(func,info,retry,wait) ({ do {} while (0); 0; }) #define on_each_cpu(func,info,retry,wait) ({ func(info); 0; }) #define num_booting_cpus() 1 #define smp_prepare_boot_cpu() do {} while (0) |