aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-04-15 18:53:39 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-04-15 18:53:39 +0000
commitf2f5820d13ca33ce802b4c3350749804e17e34aa (patch)
treedc18c60b378ba10d3e37cd0ff9b163ff7379050c /target
parenta0bbc34816527f226177c5974a81d4e8e0be67aa (diff)
downloadupstream-f2f5820d13ca33ce802b4c3350749804e17e34aa.tar.gz
upstream-f2f5820d13ca33ce802b4c3350749804e17e34aa.tar.bz2
upstream-f2f5820d13ca33ce802b4c3350749804e17e34aa.zip
silence an annoying x86 warning
SVN-Revision: 31293
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic/patches-2.6.32/033-x86_unused_variables.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.32/033-x86_unused_variables.patch b/target/linux/generic/patches-2.6.32/033-x86_unused_variables.patch
new file mode 100644
index 0000000000..dd8e147fbc
--- /dev/null
+++ b/target/linux/generic/patches-2.6.32/033-x86_unused_variables.patch
@@ -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)) { \