zephyr/kernel
Carlo Caione f161223637 userspace: Fix thread index type in z_thread_perms_all_clear()
The type for the thread index returned by thread_index_get() must be
casted to int when comparing with (-1). Directly using uintptr_t is
breaking the ARMv8 implementation where where the check (index != -1) is
verified also when no thread index is returned.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2020-10-21 08:00:35 -04:00
..
include kernel: Add cache coherence management framework 2020-10-21 06:38:53 -04:00
atomic_c.c
cache_handlers.c
CMakeLists.txt kernel: Deprecate CONFIG_MULTITHREADING 2020-09-23 15:50:32 -05:00
compiler_stack_protect.c
device.c
errno.c
fatal.c
futex.c
idle.c kernel: handle thread self-aborts on idle thread 2020-09-30 14:11:59 -04:00
init.c kernel: Add cache coherence management framework 2020-10-21 06:38:53 -04:00
Kconfig kernel: Add cache coherence management framework 2020-10-21 06:38:53 -04:00
kheap.c
mailbox.c
mem_domain.c userspace: make mem domain lock non-static 2020-10-20 09:37:49 -07:00
mem_slab.c
mempool_sys.c
mempool.c
mmu.c
msg_q.c doc: Clarify semantics of k_msgq_put 2020-09-23 13:21:07 -05:00
mutex.c
pipes.c
poll.c kernel/poll: Mark incompatibility with KERNEL_COHERENCE 2020-10-21 06:38:53 -04:00
queue.c
sched.c kernel: Add cache coherence management framework 2020-10-21 06:38:53 -04:00
sem.c
smp.c
stack.c kernel: stack: fix stack_push spinlock and return 2020-10-07 17:10:36 -04:00
system_work_q.c
thread_abort.c kernel: handle thread self-aborts on idle thread 2020-09-30 14:11:59 -04:00
thread.c soc/xtensa: Misc. checkpatch fixups 2020-10-21 06:38:53 -04:00
timeout.c kernel: Add cache coherence management framework 2020-10-21 06:38:53 -04:00
timer.c kernel: timer: update k_timer API for const correctness 2020-10-02 11:29:14 +02:00
userspace_handler.c
userspace.c userspace: Fix thread index type in z_thread_perms_all_clear() 2020-10-21 08:00:35 -04:00
version.c
work_q.c kernel: delayed_work: update k_delayed_work_cancel documentation 2020-10-09 11:48:00 +02:00