From: Bart Samwel Date: Fri, 24 Mar 2006 11:15:49 +0000 (-0800) Subject: [PATCH] Represent laptop_mode as jiffies internally X-Git-Tag: v2.6.17-rc1~943 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed5b43f15a8e86e3ae939b98bc161ee973ecedf2;p=pandora-kernel.git [PATCH] Represent laptop_mode as jiffies internally Make that the internal value for /proc/sys/vm/laptop_mode is stored as jiffies instead of seconds. Let the sysctl interface do the conversions, instead of doing on-the-fly conversions every time the value is used. Add a description of the fact that laptop_mode doubles as a flag and a timeout to the comment above the laptop_mode variable. Signed-off-by: Bart Samwel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed