lkml.org 
[lkml]   [1999]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH 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;
}
\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.558 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site