X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Flinux%2Fcpumask.h;h=7047f58306a7a24fba73076f255551c59866cc4e;hb=2c7871982cf27caaddbaeb7e2121ce1374b520ff;hp=85bd790c201eeaafb62da1b03006c13b29e61598;hpb=55d1bb9a3b0f7f791ce597086791ebe54ea4c46a;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h index 85bd790c201..7047f58306a 100644 --- a/include/linux/cpumask.h +++ b/include/linux/cpumask.h @@ -218,8 +218,8 @@ int __first_cpu(const cpumask_t *srcp); int __next_cpu(int n, const cpumask_t *srcp); #define next_cpu(n, src) __next_cpu((n), &(src)) #else -#define first_cpu(src) 0 -#define next_cpu(n, src) 1 +#define first_cpu(src) ({ (void)(src); 0; }) +#define next_cpu(n, src) ({ (void)(src); 1; }) #endif #define cpumask_of_cpu(cpu) \