commit | 0b5d9f71f2c44fefd4151f0271c7b841abc97aa7 | [log] [tgz] |
---|---|---|
author | Nicolas Pitre <npitre@baylibre.com> | Mon May 20 23:41:27 2019 -0400 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu May 30 09:42:23 2019 -0400 |
tree | fa67c700f019a66bcdb1b1bc35a775c1bf7ce4d4 | |
parent | a58a852e80de4ecf2161eb00517791b05018bf60 [diff] |
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: Nicolas Pitre <npitre@baylibre.com>