From: Hiroshi Shimamoto Date: Tue, 25 Aug 2009 06:08:30 +0000 (+0900) Subject: timekeeping: Fix invalid getboottime() value X-Git-Tag: v2.6.32-rc1~168^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36d47481b3824b661b464077db95d447984df799;p=pandora-kernel.git timekeeping: Fix invalid getboottime() value Don't use timespec_add_safe() with wall_to_monotonic, because wall_to_monotonic has negative values which will cause overflow in timespec_add_safe(). That makes btime in /proc/stat invalid. Signed-off-by: Hiroshi Shimamoto Cc: Martin Schwidefsky Cc: John Stultz Cc: Daniel Walker LKML-Reference: <4A937FDE.4050506@ct.jp.nec.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed