1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

Kernel: Add an x86 include check+error in x86/Spinlock.h

This commit is contained in:
James Mintram 2021-12-01 17:15:31 +00:00 committed by Brian Gianforcaro
parent 34b341e35d
commit 80cdfee10a

View file

@ -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 {