Fix: smp-power-off on 2.3.x

From: Tony Hoyle (tmh@magenta-logic.com)
Date: Fri Feb 18 2000 - 07:13:44 EST


This patches fixes the apm=smp-power-off option on 2.3.x (diff from 2.3.46):

--- apm.c.old Wed Feb 16 23:42:06 2000
+++ apm.c Fri Feb 18 12:10:12 2000
@@ -1508,7 +1508,10 @@
        if (smp_num_cpus > 1) {
                printk(KERN_NOTICE "apm: disabled - APM is not SMP safe.\n");
                if (smp_hack)
+ {
                        smp_hack = 2;
+ pm_power_off = apm_power_off;
+ }
                APM_INIT_ERROR_RETURN;
        }
 #endif

Tony

-- 

"Now you too can enjoy having babies... start collecting today" (Recent advert)

tmh@magenta-logic.com

- 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/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:21 EST