Messages in this thread Patch in this message | | | From | Peter Samuelson <> | Date | Sun, 7 Nov 1999 08:23:13 -0600 (CST) | Subject | Re: poweroff function in apm.c breaks on 2.3.26 |
| |
[Akira YOSHIYAMA] > arch/i386/kernel/kernel.o(.text+0x2b21): undefined reference to `sysrq_power_off'
> 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/
| |