Skip to contentSkip to conversation

restore power-off on sparc32

PATCH In review Al Viro 1 participant 1 message Feb 8, 2006 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 6/29 restore power-off on sparc32

Date: 1137631248 -0500

Fixing Eric's breakage created when he overloaded pm_power_off and ended up disabling poweroff on a bunch of platforms...

---

 arch/sparc/kernel/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

304cd3efe6f2aefdb568d201aba55d1400915ca2

arch/sparc/kernel/process.c +1 -1
index fbb05a4..118cac8 100644
@@ -54,7 +54,7 @@ void (*pm_idle)(void);
  * This is done via auxio, but could be used as a fallback
  * handler when auxio is not present-- unused for now...
  */
-void (*pm_power_off)(void);
+void (*pm_power_off)(void) = machine_power_off;
 
 /*
  * sysctl - toggle power-off restriction for serial console 
Signature · 1 line
0.99.9.GIT