diff options
| author | Jung-uk Kim <jkim@free_BSD.org> | 2017-11-17 15:40:14 -0800 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2017-11-27 01:20:28 +0100 |
| commit | 8f275615a623183584b1604789cdcb240342ffbc (patch) | |
| tree | bd5b37dbb432d06d4cd871f82953f87a0e857d07 /tools/perf/util/c++/clang.cpp | |
| parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff) | |
ACPICA: Fix an off-by-one error in acpi_get_timer_duration().
ACPICA commit b4fd33f3c2af014aeec978d46392d286fd7f52b3
Delta calculation has an off-by-one error when there is a rollover.
For example, when start_ticks is 0x00FFFFFF and end_ticks is 0x00000000
(for 24-bit timer), delta_ticks should be 1 (one) but it was 0 (zero).
Link: https://github.com/acpica/acpica/commit/b4fd33f3
Signed-off-by: Jung-uk Kim <jkim@free_BSD.org>
Signed-off-by: Bob Moore <[email protected]>
Signed-off-by: Erik Schmauss <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions