> I think that `sysrq_power_off' specific codes in apm.c must be active
> only defined CONFIG_MAGIC_SYSRQ...
Here.
--- linux-2.3.26/arch/i386/kernel/apm.c.orig Sun Nov 7 07:24:54 1999
+++ linux-2.3.26/arch/i386/kernel/apm.c Sun Nov 7 08:20:17 1999
@@ -1367,7 +1367,9 @@
/* Install our power off handler.. */
if (power_off_enabled)
acpi_power_off = apm_power_off;
+#ifdef CONFIG_MAGIC_SYSRQ
sysrq_power_off = apm_power_off;
+#endif
apm_mainloop();
return 0;
-- Peter Samuelson <sampo.creighton.edu!psamuels>- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/