aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/oprofile/op_model_ppro.c
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2009-07-07 19:30:25 +0200
committerRobert Richter <robert.richter@amd.com>2009-07-14 15:30:03 +0200
commit8045a4c293d36c61656a20d581b11f7f0cd7acd5 (patch)
tree33d201b0916c44a3cf952f96d9fee10b7b6f857b /arch/x86/oprofile/op_model_ppro.c
parentdebc6a6927dcd833a30750b07a4c2b456b71f1be (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>
Diffstat (limited to 'arch/x86/oprofile/op_model_ppro.c')
0 files changed, 0 insertions, 0 deletions