apm power_off on smp

Pozsar Balazs (pozsy@uhulinux.hu)
Mon, 15 Jul 2002 00:13:05 +0200 (MEST)


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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/