diff options
author | Hiroshi Shimamoto <[email protected]> | 2009-08-25 15:08:30 +0900 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-08-25 09:09:02 +0200 |
commit | 36d47481b3824b661b464077db95d447984df799 (patch) | |
tree | 7ae9dc060872f879403e78ab1b1abd7f4ada4ed0 /lib/cpu-notifier-error-inject.c | |
parent | 0ceb4c3e3f1ccaf121851e33c3ea269b8ad0f219 (diff) |
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 <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: John Stultz <[email protected]>
Cc: Daniel Walker <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions