public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] APM Buglet
@ 2002-01-20 13:15 Udo A. Steinberg
  0 siblings, 0 replies; only message in thread
From: Udo A. Steinberg @ 2002-01-20 13:15 UTC (permalink / raw)
  To: Linus Torvalds, Linux Kernel


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)
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-20 13:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-20 13:15 [PATCH] APM Buglet Udo A. Steinberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox