summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-2.6.37/032-fs_binfmt_elft_mark_unused.patch
blob: 7c9f37745623c2618930dd0c58c6db81a20f1acb (plain)
1
2
3
4
5
6
7
8
9
10
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 {