Hi Linus,

Please apply ...

diff -ruN 2.3.47/arch/i386/kernel/apm.c 2.3.47-fix/arch/i386/kernel/apm.c
--- 2.3.47/arch/i386/kernel/apm.c       Mon Feb 21 19:20:01 2000
+++ 2.3.47-fix/arch/i386/kernel/apm.c   Tue Feb 22 10:04:49 2000
@@ -333,7 +333,7 @@
 static DECLARE_WAIT_QUEUE_HEAD(apm_suspend_waitqueue);
 static struct apm_user *       user_list = NULL;
 
-static char                    driver_version[] = "1.12";      /* no spaces */
+static char                    driver_version[] = "1.13";      /* no spaces */
 
 static char *  apm_event_name[] = {
        "system standby",
@@ -635,7 +635,7 @@
         */
 #ifdef CONFIG_SMP
        /* Some bioses don't like being called from CPU != 0 */
-       while (cpu_number_map[smp_processor_id()] != 0) {
+       while (cpu_number_map(smp_processor_id()) != 0) {
                kernel_thread(apm_magic, NULL,
                        CLONE_FS | CLONE_FILES | CLONE_SIGHAND | SIGCHLD);
                schedule();

Cheers,
Stephen
-- 
Stephen Rothwell, Open Source Project Engineer, Linuxcare, Inc.
+61-2-62628990 tel, +61-2-62628991 fax 
[EMAIL PROTECTED], http://www.linuxcare.com/ 
Linuxcare. Support for the revolution.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to