diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/vr41xx/common/pmu.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/mips/vr41xx/common/pmu.c b/arch/mips/vr41xx/common/pmu.c index ba0a4f6483a2..ad5b6db53396 100644 --- a/arch/mips/vr41xx/common/pmu.c +++ b/arch/mips/vr41xx/common/pmu.c | |||
@@ -91,14 +91,7 @@ static void vr41xx_halt(void) | |||
91 | { | 91 | { |
92 | local_irq_disable(); | 92 | local_irq_disable(); |
93 | printk(KERN_NOTICE "\nYou can turn off the power supply\n"); | 93 | printk(KERN_NOTICE "\nYou can turn off the power supply\n"); |
94 | while (1) ; | 94 | __asm__("hibernate;\n"); |
95 | } | ||
96 | |||
97 | static void vr41xx_power_off(void) | ||
98 | { | ||
99 | local_irq_disable(); | ||
100 | printk(KERN_NOTICE "\nYou can turn off the power supply\n"); | ||
101 | while (1) ; | ||
102 | } | 95 | } |
103 | 96 | ||
104 | static int __init vr41xx_pmu_init(void) | 97 | static int __init vr41xx_pmu_init(void) |
@@ -134,7 +127,7 @@ static int __init vr41xx_pmu_init(void) | |||
134 | cpu_wait = vr41xx_cpu_wait; | 127 | cpu_wait = vr41xx_cpu_wait; |
135 | _machine_restart = vr41xx_restart; | 128 | _machine_restart = vr41xx_restart; |
136 | _machine_halt = vr41xx_halt; | 129 | _machine_halt = vr41xx_halt; |
137 | pm_power_off = vr41xx_power_off; | 130 | pm_power_off = vr41xx_halt; |
138 | 131 | ||
139 | return 0; | 132 | return 0; |
140 | } | 133 | } |