aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorTomas Janousek <[email protected]>2007-07-16 06:39:41 +0000
committerLinus Torvalds <[email protected]>2007-07-16 16:05:41 +0000
commit7c3f1a573237b90ef331267260358a0ec4ac9079 (patch)
treef308047c4f40022d4b8f7226fba73b067dcd2d70 /fs/proc/array.c
parentuse no_pci_devices() in pci/search.c (diff)
downloadkernel-7c3f1a573237b90ef331267260358a0ec4ac9079.tar.gz
kernel-7c3f1a573237b90ef331267260358a0ec4ac9079.zip
Introduce boot based time
The commits 411187fb05cd11676b0979d9fbf3291db69dbce2 (GTOD: persistent clock support) c1d370e167d66b10bca3b602d3740405469383de (i386: use GTOD persistent clock support) changed the monotonic time so that it no longer jumps after resume, but it's not possible to use it for boot time and process start time calculations then. Also, the uptime no longer increases during suspend. I add a variable to track the wall_to_monotonic changes, a function to get the real boot time and a function to get the boot based time from the monotonic one. [[email protected]: remove exports, add comment] Signed-off-by: Tomas Janousek <[email protected]> Cc: Tomas Smetana <[email protected]> Cc: John Stultz <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions