[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] smp_call_function() must be usable as an expression
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 6450e40ad21a089e51e0d6f0400079ea580f1289 # Parent 7d50f64aada71aeeb513d94adc0129a5899448fe smp_call_function() must be usable as an expression return an integer. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> diff -r 7d50f64aada7 -r 6450e40ad21a xen/include/xen/smp.h --- a/xen/include/xen/smp.h Thu Oct 20 10:25:55 2005 +++ b/xen/include/xen/smp.h Thu Oct 20 10:27:51 2005 @@ -90,7 +90,7 @@ #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) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |