diff options
author | Robert Richter <robert.richter@amd.com> | 2009-07-07 21:30:25 +0400 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2009-07-14 17:30:03 +0400 |
commit | 8045a4c293d36c61656a20d581b11f7f0cd7acd5 (patch) | |
tree | 33d201b0916c44a3cf952f96d9fee10b7b6f857b /lib/ioremap.c | |
parent | debc6a6927dcd833a30750b07a4c2b456b71f1be (diff) | |
download | linux-8045a4c293d36c61656a20d581b11f7f0cd7acd5.tar.xz |
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>
Diffstat (limited to 'lib/ioremap.c')
0 files changed, 0 insertions, 0 deletions