1 --- a/arch/mips/kernel/signal.c
2 +++ b/arch/mips/kernel/signal.c
3 @@ -84,7 +84,7 @@ static int protected_save_fp_context(str
5 static int protected_restore_fp_context(struct sigcontext __user *sc)
8 + int err, tmp __maybe_unused;
12 --- a/arch/mips/kernel/syscall.c
13 +++ b/arch/mips/kernel/syscall.c
14 @@ -383,7 +383,7 @@ save_static_function(sys_sysmips);
15 static int __used noinline
16 _sys_sysmips(nabi_no_regargs struct pt_regs regs)
18 - long cmd, arg1, arg2, arg3;
19 + long cmd, arg1, arg2, arg3 __maybe_unused;
23 --- a/arch/mips/mm/init.c
24 +++ b/arch/mips/mm/init.c
25 @@ -324,7 +324,7 @@ int page_is_ram(unsigned long pagenr)
26 void __init paging_init(void)
28 unsigned long max_zone_pfns[MAX_NR_ZONES];
29 - unsigned long lastpfn;
30 + unsigned long lastpfn __maybe_unused;
34 --- a/arch/mips/mm/c-r4k.c
35 +++ b/arch/mips/mm/c-r4k.c
36 @@ -1076,7 +1076,7 @@ static int __cpuinit probe_scache(void)
37 unsigned long flags, addr, begin, end, pow2;
38 unsigned int config = read_c0_config();
39 struct cpuinfo_mips *c = ¤t_cpu_data;
41 + int tmp __maybe_unused;