aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.38/970-mips-gcc-4.6-set-but-unused-fixes.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-12 12:05:21 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-12 12:05:21 +0000
commite710aeeab10e2b420ad012c0d9fb639266a63515 (patch)
tree772ed4e14639b7d0f8f9d96a67a9ccd660c15f0f /target/linux/generic/patches-2.6.38/970-mips-gcc-4.6-set-but-unused-fixes.patch
parent08ed044595b404fa626f71c9b1c1fbc599ad7587 (diff)
downloadupstream-e710aeeab10e2b420ad012c0d9fb639266a63515.tar.gz
upstream-e710aeeab10e2b420ad012c0d9fb639266a63515.tar.bz2
upstream-e710aeeab10e2b420ad012c0d9fb639266a63515.zip
linux/2.6.38: R.I.P.
It is used only by the broken coldfire target. SVN-Revision: 31688
Diffstat (limited to 'target/linux/generic/patches-2.6.38/970-mips-gcc-4.6-set-but-unused-fixes.patch')
-rw-r--r--target/linux/generic/patches-2.6.38/970-mips-gcc-4.6-set-but-unused-fixes.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/target/linux/generic/patches-2.6.38/970-mips-gcc-4.6-set-but-unused-fixes.patch b/target/linux/generic/patches-2.6.38/970-mips-gcc-4.6-set-but-unused-fixes.patch
deleted file mode 100644
index 1721a8fa76..0000000000
--- a/target/linux/generic/patches-2.6.38/970-mips-gcc-4.6-set-but-unused-fixes.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/arch/mips/mm/tlbex.c
-+++ b/arch/mips/mm/tlbex.c
-@@ -1151,8 +1151,8 @@ static void __cpuinit build_r4000_tlb_re
- struct uasm_reloc *r = relocs;
- u32 *f;
- unsigned int final_len;
-- struct mips_huge_tlb_info htlb_info;
-- enum vmalloc64_mode vmalloc_mode;
-+ struct mips_huge_tlb_info htlb_info __maybe_unused;
-+ enum vmalloc64_mode vmalloc_mode __maybe_unused;
-
- memset(tlb_handler, 0, sizeof(tlb_handler));
- memset(labels, 0, sizeof(labels));
---- a/arch/mips/mm/c-r4k.c
-+++ b/arch/mips/mm/c-r4k.c
-@@ -1075,7 +1075,7 @@ static int __cpuinit probe_scache(void)
- unsigned long flags, addr, begin, end, pow2;
- unsigned int config = read_c0_config();
- struct cpuinfo_mips *c = &current_cpu_data;
-- int tmp;
-+ int tmp __maybe_unused;
-
- if (config & CONF_SC)
- return 0;