Messages in this thread Patch in this message | | | Date | Sun, 4 Mar 2001 00:03:56 +0100 (CET) | From | Francis Galiegue <> | Subject | [PATCH] 2.4.2: cure the kapm-idled taking (100-epsilon)% CPU time |
| |
As attachment. Don't ask me why it works. Rather, if you see why it works, I'd like to know why :)
Patch also applies cleanly over 2.4.2-ac10.
-- Francis Galiegue, fg@mandrakesoft.com - Normand et fier de l'être "Programming is a race between programmers, who try and make more and more idiot-proof software, and universe, which produces more and more remarkable idiots. Until now, universe leads the race" -- R. Cook --- linux/arch/i386/kernel/apm.c.old Sat Mar 3 23:59:36 2001 +++ linux/arch/i386/kernel/apm.c Sat Mar 3 23:57:56 2001 @@ -557,7 +557,7 @@ { u32 dummy; - if (apm_bios_call_simple(APM_FUNC_IDLE, 0, 0, &dummy)) + if (apm_bios_call(APM_FUNC_IDLE, 0, 0, &dummy, &dummy, &dummy, &dummy, &dummy)) return 0; #ifdef ALWAYS_CALL_BUSY | |