ia64/xen-unstable

changeset 7449:5d746b39e873

Makes smp_call_function a real stmt if CONFIG_SMP is not defined.
This avoid a GCC warning.
author tristan.gingold@bull.net
date Thu Oct 20 06:01:11 2005 -0400 (2005-10-20)
parents fb265175f47c
children 7d50f64aada7
files xen/include/xen/smp.h
line diff
     1.1 --- a/xen/include/xen/smp.h	Wed Oct 19 18:18:30 2005 +0100
     1.2 +++ b/xen/include/xen/smp.h	Thu Oct 20 06:01:11 2005 -0400
     1.3 @@ -90,7 +90,7 @@ void smp_prepare_boot_cpu(void);
     1.4  #define smp_processor_id()			0
     1.5  #endif
     1.6  #define hard_smp_processor_id()			0
     1.7 -#define smp_call_function(func,info,retry,wait)	0
     1.8 +#define smp_call_function(func,info,retry,wait)	do {} while (0)
     1.9  #define on_each_cpu(func,info,retry,wait)	({ func(info); 0; })
    1.10  #define num_booting_cpus()			1
    1.11  #define smp_prepare_boot_cpu()			do {} while (0)