x86/oprofile: Fix cast of counter value
authorRobert Richter <robert.richter@amd.com>
Tue, 7 Jul 2009 17:30:25 +0000 (19:30 +0200)
committerRobert Richter <robert.richter@amd.com>
Tue, 14 Jul 2009 13:30:03 +0000 (15:30 +0200)
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>

No differences found