From: Martin Schwidefsky Date: Fri, 14 Aug 2009 13:47:32 +0000 (+0200) Subject: timekeeping: Introduce read_boot_clock X-Git-Tag: v2.6.32-rc1~168^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23970e389e9cee43c4b41023935e1417271708b2;p=pandora-kernel.git timekeeping: Introduce read_boot_clock Add the new function read_boot_clock to get the exact time the system has been started. For architectures without support for exact boot time a new weak function is added that returns 0. Use the exact boot time to initialize wall_to_monotonic, or xtime if the read_boot_clock returned 0. Signed-off-by: Martin Schwidefsky Cc: Ingo Molnar Acked-by: John Stultz Cc: Daniel Walker LKML-Reference: <20090814134811.296703241@de.ibm.com> Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed