mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Kernel: Add an x86 include check+error in x86/Spinlock.h
This commit is contained in:
parent
34b341e35d
commit
80cdfee10a
Notes:
sideshowbarker
2024-07-17 23:14:14 +09:00
Author: https://github.com/jamesmintram
Commit: 80cdfee10a
Pull-request: https://github.com/SerenityOS/serenity/pull/11141
Reviewed-by: https://github.com/bgianfo ✅
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,9 @@
|
|||
#include <Kernel/Arch/Processor.h>
|
||||
#include <Kernel/Locking/LockRank.h>
|
||||
|
||||
#include <AK/Platform.h>
|
||||
VALIDATE_IS_X86()
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
class Spinlock {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue