Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include: types.h: toolchain.h: Move TLS macro definition #79094

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

danielfl-iar
Copy link
Contributor

Move the Z_THREAD_LOCAL macro from
include/zephyr/toolchain/common.h to include/zephyr/types.h.

This is needed since some syscall.h files are using TLS but aren't including zephyr/toolchain.h (but they are including zephyr/types.h).

Signed-off-by: Daniel Flodin daniel.flodin@iar.com

Move the `Z_THREAD_LOCAL` macro from
`include/zephyr/toolchain/common.h` to `include/zephyr/types.h`.

This is needed since some `syscall.h` files are using TLS but aren't
including `zephyr/toolchain.h` (but they are including
`zephyr/types.h`).

Signed-off-by: Daniel Flodin <daniel.flodin@iar.com>
@danielfl-iar
Copy link
Contributor Author

This should fix the test failures on #78913

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Base OS Base OS Library (lib/os) area: Kernel area: Toolchains Toolchains
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants