From ecd739427b3e5e4092ae5392d565a7a0bb002abc Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 2 Mar 2012 13:19:05 +0000 Subject: [kernel/2.6.37] MIPS: mark unused variables git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30782 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/generic/patches-2.6.37/031-mips_mark_unused.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/generic/patches-2.6.37/031-mips_mark_unused.patch (limited to 'target/linux/generic/patches-2.6.37/031-mips_mark_unused.patch') 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 000000000..9f5a0a14a --- /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); -- cgit v1.2.3