1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:37:35 +00:00

Kernel: Move Spinlock lock/unlock functions out of line

I don't see why these have to be inlined everywhere in the kernel.
This commit is contained in:
Andreas Kling 2022-02-02 12:49:32 +01:00
parent 362e167239
commit 35e24bc774
3 changed files with 77 additions and 60 deletions

View file

@ -300,6 +300,7 @@ if ("${SERENITY_ARCH}" STREQUAL "i686" OR "${SERENITY_ARCH}" STREQUAL "x86_64")
${KERNEL_SOURCES}
Arch/x86/common/ScopedCritical.cpp
Arch/x86/common/SmapDisabler.cpp
Arch/x86/common/Spinlock.cpp
)
set(KERNEL_SOURCES