patch-2.1.125 linux/drivers/char/sysrq.c

Next file: linux/drivers/char/tty_io.c
Previous file: linux/drivers/char/serial167.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.124/linux/drivers/char/sysrq.c linux/drivers/char/sysrq.c
@@ -85,7 +85,7 @@
 #ifdef CONFIG_APM
 	case 'o':					    /* O -- power off */
 		printk("Power off\n");
-		apm_set_power_state(APM_STATE_OFF);
+		apm_power_off();
 		break;
 #endif
 	case 's':					    /* S -- emergency sync */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov