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

Skip to content
Commit 4637a74c authored by David P. Reed's avatar David P. Reed Committed by Andi Kleen
Browse files

[PATCH] x86-64: Avoid overflows during apic timer calibration



- Use 64bit TSC calculations to avoid handling overflow
- Use 32bit unsigned arithmetic for the APIC timer. This
way overflows are handled correctly.
- Fix exit check of loop to account for apic timer counting down

Signed-off-by: default avatar <dpreed@reed.com>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent 9d016dd4
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