lkml.org 
[lkml]   [2002]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] APM Buglet

Hi,

The following patch against 2.5.3-pre2 fixes compile problems with apm.c


diff -Naur -X dontdiff linux-2.5.3-vanilla/arch/i386/kernel/apm.c linux-2.5.3/arch/i386/kernel/apm.c
--- linux-2.5.3-vanilla/arch/i386/kernel/apm.c Sun Jan 20 14:12:06 2002
+++ linux-2.5.3/arch/i386/kernel/apm.c Sun Jan 20 13:53:03 2002
@@ -1348,7 +1348,7 @@
* decide if we should just power down.
*
*/
-#define system_idle() (nr_running == 1)
+#define system_idle() (nr_running() == 1)

static void apm_mainloop(void)
{
-
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/
\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.027 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site