fs/proc/uptime.c:uptime_proc_show(): use get_monotonic_boottime()
authorOleg Nesterov <oleg@redhat.com>
Wed, 3 Jul 2013 22:08:27 +0000 (15:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:08:02 +0000 (16:08 -0700)
commit1d98a5fa11e9a66a7cf7b03f73cab60184781065
tree1e29b8ba506d610cf3c4b5586704f169225046d9
parent81dabb464139324c005159f5afba377104d8828d
fs/proc/uptime.c:uptime_proc_show(): use get_monotonic_boottime()

Change uptime_proc_show() to use get_monotonic_boottime() instead of
do_posix_clock_monotonic_gettime() + monotonic_to_bootbased().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: John Stultz <johnstul@us.ibm.com>
Cc: Tomas Janousek <tjanouse@redhat.com>
Cc: Tomas Smetana <tsmetana@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/uptime.c