diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-03-02 13:19:05 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-03-02 13:19:05 +0000 |
commit | ecd739427b3e5e4092ae5392d565a7a0bb002abc (patch) | |
tree | 7f33ce98babaa093cd70184d8270a97a51a32f82 /target/linux/generic/patches-2.6.37/032-fs_binfmt_elft_mark_unused.patch | |
parent | ae774d3615d6a2c66871accfd3b07ca8459ef7c7 (diff) |
[kernel/2.6.37] MIPS: mark unused variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30782 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.37/032-fs_binfmt_elft_mark_unused.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.37/032-fs_binfmt_elft_mark_unused.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.37/032-fs_binfmt_elft_mark_unused.patch b/target/linux/generic/patches-2.6.37/032-fs_binfmt_elft_mark_unused.patch new file mode 100644 index 0000000000..7c9f377456 --- /dev/null +++ b/target/linux/generic/patches-2.6.37/032-fs_binfmt_elft_mark_unused.patch @@ -0,0 +1,11 @@ +--- a/fs/binfmt_elf.c ++++ b/fs/binfmt_elf.c +@@ -575,7 +575,7 @@ static int load_elf_binary(struct linux_ + unsigned long elf_entry; + unsigned long interp_load_addr = 0; + unsigned long start_code, end_code, start_data, end_data; +- unsigned long reloc_func_desc = 0; ++ unsigned long reloc_func_desc __maybe_unused = 0; + int executable_stack = EXSTACK_DEFAULT; + unsigned long def_flags = 0; + struct { |