Commit 065994d0 authored by Udo A. Steinberg's avatar Udo A. Steinberg Committed by Linus Torvalds

[PATCH] 2.5.4-pre6 apm compile fix

Make apm compile properly and without warnings.
parent 74c01024
...@@ -1348,7 +1348,7 @@ static void apm_event_handler(void) ...@@ -1348,7 +1348,7 @@ static void apm_event_handler(void)
* decide if we should just power down. * decide if we should just power down.
* *
*/ */
#define system_idle() (nr_running == 1) #define system_idle() (nr_running() == 1)
static void apm_mainloop(void) static void apm_mainloop(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment