Messages in this thread | | | Date | Sun, 21 Feb 1999 23:37:19 +0100 | Subject | Re: APM & Linux 2.2.1 | From | Marc Lehmann <> |
| |
On Sun, Feb 21, 1999 at 10:52:38PM +1100, Stephen.Rothwell@canb.auug.org.au wrote: > +#ifdef CONFIG_SMP > + if (smp_num_cpus > 1) { > + printk(KERN_NOTICE "apm: disabled - APM is not SMP safe.\n"); > + if (smp_hack) > + smp_hack = 2; > + return; > + } > +#endif > #ifdef CONFIG_APM_DO_ENABLE
If that doesn't work you might want to move that code-fragment even further down, just before the init_time. (But it currently works as shown on my machine)
> Marc also said he added "apm_enabled = 1" just before returning in the > CONFIG_SMP check above, but I do not see how that could have affected > anything.
It doesn't, I have removed it.
-- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg@goof.com |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |
- 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/
| |