lkml.org 
[lkml]   [2002]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] APM patch for idle_period handling
Hi Marcelo, Linus,

This patch from Laurent Latil <laurent@latil.nom.fr> fixes a copy
and paste error. The patch applies to 2.4.19-pre9 and 2.5.19 (with
some offsets).

Please apply.

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

--- linux-2.4.18/arch/i386/kernel/apm.c Mon Apr 1 12:12:48 2002
+++ linux/arch/i386/kernel/apm.c Wed May 22 20:51:35 2002
@@ -1788,7 +1788,7 @@
idle_threshold = simple_strtol(str + 15, NULL, 0);
if ((strncmp(str, "idle-period=", 12) == 0) ||
(strncmp(str, "idle_period=", 12) == 0))
- idle_threshold = simple_strtol(str + 15, NULL, 0);
+ idle_period = simple_strtol(str + 12, NULL, 0);
invert = (strncmp(str, "no-", 3) == 0) ||
(strncmp(str, "no_", 3) == 0);
if (invert)
-
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:26    [W:0.030 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site