Skip to content
Commit a99185fa authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Anas Nashif
Browse files

arm_arch_timer: properly fix cycles overflow with GDB stub



In commit 60682555 ("drivers/timer/arm_arch_timer: Fix cycles
overflow with GDB stub") an extra TO_CYCLE_DIFF() macro was introduced
to bypass the cycle_diff_t type cast in some cases.

The actual fix consists in defining that type properly in the first
place. That's the very reason why such type was abstracted.

Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
parent 0ea64b3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment