Skip to contentSkip to conversation

APM Buglet

PATCH New Udo A. Steinberg 1 participant 1 message Jan 20, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 APM Buglet

Hi,

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

arch/i386/kernel/apm.c Sun Jan 20 13:53:03 2002 renamed from arch/i386/kernel/apm.c Sun Jan 20 14:12:06 2002 +1 -1
diff -Naur -X dontdiff linux-2.5.3-vanilla/arch/i386/kernel/apm.c linux-2.5.3/arch/i386/kernel/apm.c
@@ -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)
 {