diff options
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
| -rw-r--r-- | arch/powerpc/kernel/setup-common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index 1362cd62b3fa..44c8d03558ac 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c | |||
| @@ -139,8 +139,8 @@ void machine_restart(char *cmd) | |||
| 139 | void machine_power_off(void) | 139 | void machine_power_off(void) |
| 140 | { | 140 | { |
| 141 | machine_shutdown(); | 141 | machine_shutdown(); |
| 142 | if (ppc_md.power_off) | 142 | if (pm_power_off) |
| 143 | ppc_md.power_off(); | 143 | pm_power_off(); |
| 144 | #ifdef CONFIG_SMP | 144 | #ifdef CONFIG_SMP |
| 145 | smp_send_stop(); | 145 | smp_send_stop(); |
| 146 | #endif | 146 | #endif |
| @@ -151,7 +151,7 @@ void machine_power_off(void) | |||
| 151 | /* Used by the G5 thermal driver */ | 151 | /* Used by the G5 thermal driver */ |
| 152 | EXPORT_SYMBOL_GPL(machine_power_off); | 152 | EXPORT_SYMBOL_GPL(machine_power_off); |
| 153 | 153 | ||
| 154 | void (*pm_power_off)(void) = machine_power_off; | 154 | void (*pm_power_off)(void); |
| 155 | EXPORT_SYMBOL_GPL(pm_power_off); | 155 | EXPORT_SYMBOL_GPL(pm_power_off); |
| 156 | 156 | ||
| 157 | void machine_halt(void) | 157 | void machine_halt(void) |
