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

arch/intel64_cpustart.c add missing spinlock include #14102

Closed
wants to merge 1 commit into from

Conversation

xianglyc
Copy link
Contributor

Note: Please adhere to Contributing Guidelines.

Summary

fixes gcc 14 error:

chip/intel64_cpustart.c:88:3: error: implicit declaration of function ‘SP_DMB’ [-Wimplicit-function-declaration]
88 | SP_DMB();

Update this section with information on why change is necessary,
what it exactly does and how, if new feature shows up, provide
references (dependencies, similar problems and solutions), etc.

Impact

no impact
Update this section, where applicable, on how change affects users,
build process, hardware, documentation, security, compatibility, etc.

Testing

Update this section with details on how did you verify the change,
what Host was used for build (OS, CPU, compiler, ..), what Target was
used for verification (arch, board:config, ..), etc. Providing build
and runtime logs from before and after change is highly appreciated.

ostest

@github-actions github-actions bot added Arch: x86_64 Issues related to the x86_64 architecture Size: XS The size of the change in this PR is very small labels Oct 11, 2024
fixes gcc 14 error:

chip/intel64_cpustart.c:88:3: error: implicit declaration of function ‘SP_DMB’ [-Wimplicit-function-declaration]
   88 |   SP_DMB();

Signed-off-by: p-szafonimateusz <[email protected]>
#include <nuttx/arch.h>
#include <nuttx/spinlock.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why change the oder

@xianglyc xianglyc closed this Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: x86_64 Issues related to the x86_64 architecture Size: XS The size of the change in this PR is very small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants