diff options
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/irixsig.c | 2 | ||||
-rw-r--r-- | arch/mips/kernel/reset.c | 5 | ||||
-rw-r--r-- | arch/mips/kernel/signal32.c | 2 |
3 files changed, 2 insertions, 7 deletions
diff --git a/arch/mips/kernel/irixsig.c b/arch/mips/kernel/irixsig.c index 3f956f809fa4..40244782a8e5 100644 --- a/arch/mips/kernel/irixsig.c +++ b/arch/mips/kernel/irixsig.c | |||
@@ -178,7 +178,7 @@ asmlinkage int do_irix_signal(sigset_t *oldset, struct pt_regs *regs) | |||
178 | if (!user_mode(regs)) | 178 | if (!user_mode(regs)) |
179 | return 1; | 179 | return 1; |
180 | 180 | ||
181 | if (try_to_freeze(0)) | 181 | if (try_to_freeze()) |
182 | goto no_signal; | 182 | goto no_signal; |
183 | 183 | ||
184 | if (!oldset) | 184 | if (!oldset) |
diff --git a/arch/mips/kernel/reset.c b/arch/mips/kernel/reset.c index 7e0a9821931a..ae2ba67b7ef6 100644 --- a/arch/mips/kernel/reset.c +++ b/arch/mips/kernel/reset.c | |||
@@ -26,18 +26,13 @@ void machine_restart(char *command) | |||
26 | _machine_restart(command); | 26 | _machine_restart(command); |
27 | } | 27 | } |
28 | 28 | ||
29 | EXPORT_SYMBOL(machine_restart); | ||
30 | |||
31 | void machine_halt(void) | 29 | void machine_halt(void) |
32 | { | 30 | { |
33 | _machine_halt(); | 31 | _machine_halt(); |
34 | } | 32 | } |
35 | 33 | ||
36 | EXPORT_SYMBOL(machine_halt); | ||
37 | |||
38 | void machine_power_off(void) | 34 | void machine_power_off(void) |
39 | { | 35 | { |
40 | _machine_power_off(); | 36 | _machine_power_off(); |
41 | } | 37 | } |
42 | 38 | ||
43 | EXPORT_SYMBOL(machine_power_off); | ||
diff --git a/arch/mips/kernel/signal32.c b/arch/mips/kernel/signal32.c index 1f3b19124c01..c1a69cf232f9 100644 --- a/arch/mips/kernel/signal32.c +++ b/arch/mips/kernel/signal32.c | |||
@@ -774,7 +774,7 @@ int do_signal32(sigset_t *oldset, struct pt_regs *regs) | |||
774 | if (!user_mode(regs)) | 774 | if (!user_mode(regs)) |
775 | return 1; | 775 | return 1; |
776 | 776 | ||
777 | if (try_to_freeze(0)) | 777 | if (try_to_freeze()) |
778 | goto no_signal; | 778 | goto no_signal; |
779 | 779 | ||
780 | if (!oldset) | 780 | if (!oldset) |