apm=power-off broken in 2.3.99

From: Tony Hoyle (tmh@magenta-logic.com)
Date: Mon Mar 20 2000 - 09:06:32 EST


The latest changes in 2.3.99-pre1 broke apm=power-off.

What happens is that the apm starts kapmd, which is set to immediately exit for SMP. It then unregisters the poweroff handler
making it nonfunctional.

I made a temporary fix by making kapmd sit in an idle loop in SMP mode. It's a bit messy as it's soaking up idle time
when it doesn't need to. Hopefully someone will come up with a better one... :-)

Tony

-- 

tmh@magenta-logic.com

- 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/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:29 EST