All of lore.kernel.org
 help / color / mirror / Atom feed
* apm power_off on smp
@ 2002-07-14 22:13 Pozsar Balazs
  2002-07-14 22:30 ` Kelledin
  0 siblings, 1 reply; 9+ messages in thread
From: Pozsar Balazs @ 2002-07-14 22:13 UTC (permalink / raw)
  To: linux-kernel


Hi all!

APM's poweroff function is explicitly turned off on smp systems by
default. Could someone tell me please what is the reason for that?

In other words: what are the objections against the below patch? :)

diff -Naur a/arch/i386/kernel/apm.c b/arch/i386/kernel/apm.c
--- a/arch/i386/kernel/apm.c	Mon Feb 25 19:37:53 2002
+++ b/arch/i386/kernel/apm.c	Sun Jul 14 23:05:14 2002
@@ -393,11 +393,7 @@
 #endif
 static int			debug;
 static int			apm_disabled = -1;
-#ifdef CONFIG_SMP
-static int			power_off;
-#else
 static int			power_off = 1;
-#endif
 #ifdef CONFIG_APM_REAL_MODE_POWER_OFF
 static int			realmode_power_off = 1;
 #else

-- 
pozsy


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-07-15  0:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-14 22:13 apm power_off on smp Pozsar Balazs
2002-07-14 22:30 ` Kelledin
2002-07-14 22:55   ` Xavier Bestel
2002-07-14 23:03     ` Pozsar Balazs
2002-07-15  0:39       ` Alan Cox
2002-07-14 23:34         ` Xavier Bestel
2002-07-15  0:57           ` Alan Cox
2002-07-15  0:05             ` Xavier Bestel
2002-07-15  1:23               ` Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.