lkml.org 
[lkml]   [2002]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] 2.5.4-pre6 apm compile fix
Date
From
> 
> I believe this had already been applied in earlier 2.5 and then somehow
> vanished, probably due to an update by whoever maintains apm.c

Doubt it - the 2.4.18pre tree uses a much more uptodate APM code set that
removes the rather broken system_idle check for a new algorithm (and
adds 20% to my typical battery lifetime!). Probably its another thing that
really wants porting forward.

I think its from scheduling changes.

> -#define system_idle() (nr_running == 1)
> +#define system_idle() (nr_running() == 1)

-
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:24    [W:0.061 / U:74.636 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site