diff options
author | James Mintram <me@jamesrm.com> | 2021-12-01 17:15:31 +0000 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-12-01 11:22:04 -0800 |
commit | 80cdfee10a825ce94e632260481f7d802aba1f3d (patch) | |
tree | cd130ddb6ad596a82d3a2dcecdc10143de167157 /Kernel/Arch | |
parent | 34b341e35df946b1392d7be94685b2cd1e12d6d9 (diff) | |
download | serenity-80cdfee10a825ce94e632260481f7d802aba1f3d.zip |
Kernel: Add an x86 include check+error in x86/Spinlock.h
Diffstat (limited to 'Kernel/Arch')
-rw-r--r-- | Kernel/Arch/x86/Spinlock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Arch/x86/Spinlock.h b/Kernel/Arch/x86/Spinlock.h index aaca62c01b..9331e689ab 100644 --- a/Kernel/Arch/x86/Spinlock.h +++ b/Kernel/Arch/x86/Spinlock.h @@ -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 { |