silence an annoying x86 warning
[openwrt/openwrt.git] / target / linux / generic / patches-2.6.32 / 033-x86_unused_variables.patch
1 --- a/arch/x86/include/asm/percpu.h
2 +++ b/arch/x86/include/asm/percpu.h
3 @@ -76,7 +76,7 @@ extern void __bad_percpu_size(void);
4 do { \
5 typedef typeof(var) T__; \
6 if (0) { \
7 - T__ tmp__; \
8 + T__ tmp__ __maybe_unused; \
9 tmp__ = (val); \
10 } \
11 switch (sizeof(var)) { \