summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-2.6.37/031-mips_mark_unused.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-2.6.37/031-mips_mark_unused.patch')
-rw-r--r--target/linux/generic/patches-2.6.37/031-mips_mark_unused.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.37/031-mips_mark_unused.patch b/target/linux/generic/patches-2.6.37/031-mips_mark_unused.patch
new file mode 100644
index 0000000..9f5a0a1
--- /dev/null
+++ b/target/linux/generic/patches-2.6.37/031-mips_mark_unused.patch
@@ -0,0 +1,11 @@
+--- a/arch/mips/kernel/signal32.c
++++ b/arch/mips/kernel/signal32.c
+@@ -115,7 +115,7 @@ static int protected_save_fp_context32(s
+
+ static int protected_restore_fp_context32(struct sigcontext32 __user *sc)
+ {
+- int err, tmp;
++ int err, tmp __maybe_unused;
+ while (1) {
+ lock_fpu_owner();
+ own_fpu_inatomic(0);