aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.32
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
commit0d16a546984ce44cb8a4f7e704a8429c48406e85 (patch)
tree783e699c819c86ed515c34c2201622b359e1386a /target/linux/generic/patches-2.6.32
parent6c07afd38f37d4a1650eb180f84cfacc9de6056d (diff)
downloadupstream-0d16a546984ce44cb8a4f7e704a8429c48406e85.tar.gz
upstream-0d16a546984ce44cb8a4f7e704a8429c48406e85.tar.bz2
upstream-0d16a546984ce44cb8a4f7e704a8429c48406e85.zip
[generic/2.6.32] silence an annoying x86 warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31293 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.32')
-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)) { \