[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Makes smp_call_function a real stmt if CONFIG_SMP is not defined.



# HG changeset patch
# User tristan.gingold@xxxxxxxx
# Node ID 5d746b39e8735c0ad9fdb0b21a852ccba4c669c1
# Parent  fb265175f47c53ca193e6e264570981e228dacd0
Makes smp_call_function a real stmt if CONFIG_SMP is not defined.
This avoid a GCC warning.

diff -r fb265175f47c -r 5d746b39e873 xen/include/xen/smp.h
--- a/xen/include/xen/smp.h     Wed Oct 19 17:18:30 2005
+++ b/xen/include/xen/smp.h     Thu Oct 20 10:01:11 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)        0
+#define smp_call_function(func,info,retry,wait)        do {} while (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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.