lkml.org 
[lkml]   [1999]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: APM & Linux 2.2.1
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.024 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site