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

thread_cpu: make it 64-bit compatible



This stores a combination of a pointer and a CPU number in the low
2 bits. On 64-bit systems, the pointer part won't fit in an int.
Let's use uintptr_t for this purpose.

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