diff options
author | 2012-08-21 20:30:47 -0400 | |
---|---|---|
committer | 2012-08-22 10:42:13 +0200 | |
commit | 85dc8f05c93c8105987de9d7e7cebf15a72ff4ec (patch) | |
tree | 5be946b9b6f5be3c20fa4c6692b3a4491b86b0a9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | time: Ensure we normalize the timekeeper in tk_xtime_add (diff) | |
download | linux-dev-85dc8f05c93c8105987de9d7e7cebf15a72ff4ec.tar.xz linux-dev-85dc8f05c93c8105987de9d7e7cebf15a72ff4ec.zip |
time: Fix casting issue in timekeeping_forward_now
arch_gettimeoffset returns a u32 value which when shifted by tk->shift
can overflow. This issue was introduced with 1e75fa8be (time: Condense
timekeeper.xtime into xtime_sec)
Cast it to u64 first.
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Link: http://lkml.kernel.org/r/1345595449-34965-3-git-send-email-john.stultz@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions