mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 08:40:49 +02:00
[generic/2.6.32] silence an annoying x86 warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31293 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8a3e807f49
commit
ff728c1e81
@ -0,0 +1,11 @@
|
|||||||
|
--- a/arch/x86/include/asm/percpu.h
|
||||||
|
+++ b/arch/x86/include/asm/percpu.h
|
||||||
|
@@ -76,7 +76,7 @@ extern void __bad_percpu_size(void);
|
||||||
|
do { \
|
||||||
|
typedef typeof(var) T__; \
|
||||||
|
if (0) { \
|
||||||
|
- T__ tmp__; \
|
||||||
|
+ T__ tmp__ __maybe_unused; \
|
||||||
|
tmp__ = (val); \
|
||||||
|
} \
|
||||||
|
switch (sizeof(var)) { \
|
Loading…
Reference in New Issue
Block a user