This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] smp_call_function() must be usable as an expression

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] smp_call_function() must be usable as an expression
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 Oct 2005 18:54:18 +0000
Delivery-date: Fri, 21 Oct 2005 18:52:50 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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
 #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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] smp_call_function() must be usable as an expression, Xen patchbot -unstable <=