Correct. APM might happen to apparently work, it might even be safe for
a few machines, it might also save and restore with the L2 cache of a CPU
corrupted (which appears to occur on some boxes).
The code is right
> #ifdef __SMP__
> if (smp_num_cpus > 1) {
> printk(KERN_NOTICE "APM disabled: APM is not SMP safe.\n");
> return;
> }
> #endif
>
> with it, I get oopses, without it everything works fine. Yes, I'm not
> enabling any powersaving, I just want an automatic power-off, and the
That code is right, fix the real cause of the oops. If you want SMP power
management write an ACPI driver
-
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/