patch-2.1.128 linux/arch/m68k/kernel/process.c
Next file: linux/arch/m68k/kernel/ptrace.c
Previous file: linux/arch/m68k/kernel/m68k_defs.h
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Wed Nov 11 11:50:00 1998
-  Orig file: 
v2.1.127/linux/arch/m68k/kernel/process.c
-  Orig date: 
Fri Oct  9 13:27:05 1998
diff -u --recursive --new-file v2.1.127/linux/arch/m68k/kernel/process.c linux/arch/m68k/kernel/process.c
@@ -95,6 +95,9 @@
 
 void machine_power_off(void)
 {
+#if defined(CONFIG_APM) && defined(CONFIG_APM_POWER_OFF)
+	apm_set_power_state(APM_STATE_OFF);
+#endif
 }
 
 void show_regs(struct pt_regs * regs)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov