Skip to content

Conversation

@cfriedt
Copy link
Member

@cfriedt cfriedt commented Nov 16, 2021

Previously, a uint32_t was aliased as an atomic_t. However, with #39531, atomic_t is now a long under the hood, which is 64-bit on 64-bit platforms.

Fixes #40369

Previously, a `uint32_t` was aliased as an `atomic_t`. However,
with zephyrproject-rtos#39531, `atomic_t` is now a `long` under the hood, which
is 64-bit on 64-bit platforms.

Fixes zephyrproject-rtos#40369

Signed-off-by: Christopher Friedt <[email protected]>
Previously, a `uint32_t` was aliased as an `atomic_t`. However,
with zephyrproject-rtos#39531, `atomic_t` is now a `long` under the hood, which
is 64-bit on 64-bit platforms.

Fixes zephyrproject-rtos#40369

Signed-off-by: Christopher Friedt <[email protected]>
@cfriedt cfriedt self-assigned this Nov 16, 2021
@github-actions github-actions bot added area: API Changes to public APIs area: Logging labels Nov 16, 2021
@cfriedt
Copy link
Member Author

cfriedt commented Nov 16, 2021

If there are any additional locations in shell or logging that might be aliasing atomic_t please let me know, and I'll fix them in these commits.

@cfriedt cfriedt requested a review from dcpleung November 16, 2021 18:45
@carlescufi carlescufi merged commit 5dc6686 into zephyrproject-rtos:main Nov 17, 2021
@cfriedt cfriedt deleted the issue/40369/hung-tests branch July 22, 2022 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: API Changes to public APIs area: Logging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tests/subsys/logging/log_core/ and tests/subsys/shell/shell/ hang on qemu_cortex_a53 and qemu_riscv64

4 participants