Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8045a4c2 authored by Robert Richter's avatar Robert Richter
Browse files

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: default avatarRobert Richter <robert.richter@amd.com>
parent debc6a69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment