소스 검색

[PATCH] restore power-off on sparc32

Damn you, Eric

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 20 년 전
부모
커밋
304cd3efe6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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