Prechádzať zdrojové kódy

[PATCH] restore power-off on sparc32

Damn you, Eric

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 19 rokov pred
rodič
commit
304cd3efe6
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      arch/sparc/kernel/process.c

+ 1 - 1
arch/sparc/kernel/process.c

@@ -54,7 +54,7 @@ void (*pm_idle)(void);
  * This is done via auxio, but could be used as a fallback
  * This is done via auxio, but could be used as a fallback
  * handler when auxio is not present-- unused for now...
  * 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 
  * sysctl - toggle power-off restriction for serial console