diff options
author | Benjamin Walsh <walsh.benj@gmail.com> | 2017-01-22 13:05:08 -0500 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2017-01-24 13:34:50 +0000 |
commit | ed240f27968beffdf7e9d68f2a17db6272c29357 (patch) | |
tree | b1ea2c3c16d6a0d1e6b09b7ba2cfde907a944fec /kernel/include/kernel_offsets.h | |
parent | 4b655024486bf0b39328e04c9fc1a5d1ff986207 (diff) |
kernel/arch: streamline thread user options
The K_<thread option> flags/options avaialble to users were hidden in
the kernel private header files: move them to include/kernel.h to
publicize them.
Also, to avoid any future confusion, rename the k_thread.execution_flags
field to user_options.
Change-Id: I65a6fd5e9e78d4ccf783f3304b607a1e6956aeac
Signed-off-by: Benjamin Walsh <walsh.benj@gmail.com>
Diffstat (limited to 'kernel/include/kernel_offsets.h')
-rw-r--r-- | kernel/include/kernel_offsets.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/include/kernel_offsets.h b/kernel/include/kernel_offsets.h index 18651d054..7513aa64d 100644 --- a/kernel/include/kernel_offsets.h +++ b/kernel/include/kernel_offsets.h @@ -38,7 +38,7 @@ GEN_OFFSET_SYM(_kernel_t, current_fp); GEN_ABSOLUTE_SYM(_STRUCT_KERNEL_SIZE, sizeof(struct _kernel)); -GEN_OFFSET_SYM(_thread_base_t, execution_flags); +GEN_OFFSET_SYM(_thread_base_t, user_options); GEN_OFFSET_SYM(_thread_base_t, thread_state); GEN_OFFSET_SYM(_thread_base_t, prio); GEN_OFFSET_SYM(_thread_base_t, sched_locked); |