Messages in this thread Patch in this message | | | Date | Sun, 07 Nov 1999 20:49:34 +0100 | From | Martin Dalecki <> | Subject | PATCH got 2.3.26 fix for apm handling. |
| |
This is fixing an obvious emission.
--Marcindiff -ur linux/arch/i386/kernel/apm.c linux-2.3.26/arch/i386/kernel/apm.c --- linux/arch/i386/kernel/apm.c Sun Nov 7 20:02:18 1999 +++ linux-2.3.26/arch/i386/kernel/apm.c Sun Nov 7 19:22:19 1999 @@ -1367,8 +1367,10 @@ /* Install our power off handler.. */ if (power_off_enabled) acpi_power_off = apm_power_off; - sysrq_power_off = apm_power_off; +#ifdef CONFIG_MAGIC_SYSRQ + sysrq_power_off = apm_power_off; +#endif apm_mainloop(); return 0; } | |