commit | 8045a4c293d36c61656a20d581b11f7f0cd7acd5 | [log] [tgz] |
---|---|---|
author | Robert Richter <robert.richter@amd.com> | Tue Jul 07 19:30:25 2009 +0200 |
committer | Robert Richter <robert.richter@amd.com> | Tue Jul 14 15:30:03 2009 +0200 |
tree | 33d201b0916c44a3cf952f96d9fee10b7b6f857b | |
parent | debc6a6927dcd833a30750b07a4c2b456b71f1be [diff] |
x86/oprofile: Fix cast of counter value When casting the counter value to a 64 bit value in 32 bit mode, sign extension may lead to broken counter values. This patch fixes this by casting to (u64) instead of (s64). Signed-off-by: Robert Richter <robert.richter@amd.com>