kernel/sys.c:do_sysinfo(): use get_monotonic_boottime()
authorOleg Nesterov <oleg@redhat.com>
Wed, 3 Jul 2013 22:05:01 +0000 (15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:42 +0000 (16:07 -0700)
commit45c64940c8bb64a042464ecec89d95eb4cce9b07
treec5aacb1cbea7d2b7667a2afad04ef558b531d0b8
parent7ec75e1ca1bd35872a5c7b33da4b05395bc74364
kernel/sys.c:do_sysinfo(): use get_monotonic_boottime()

Change do_sysinfo() 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>
kernel/sys.c