summaryrefslogtreecommitdiff
path: root/Kernel/Arch/x86/CPUID.h
diff options
context:
space:
mode:
authorJames Mintram <me@jamesrm.com>2021-12-01 17:11:26 +0000
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-12-01 11:22:04 -0800
commitdb1fbdabf90fe200a9aa91716db013fae9f2df2d (patch)
treeb6c9569f8e91b93c0e61bc21a2d5760a6c802340 /Kernel/Arch/x86/CPUID.h
parent8350b44ebd3c8974f03471554afa65b1fd625482 (diff)
downloadserenity-db1fbdabf90fe200a9aa91716db013fae9f2df2d.zip
Kernel: Add an x86 include check+error in x86/CPUID.h
Diffstat (limited to 'Kernel/Arch/x86/CPUID.h')
-rw-r--r--Kernel/Arch/x86/CPUID.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Arch/x86/CPUID.h b/Kernel/Arch/x86/CPUID.h
index 324d204469..29eecd28d4 100644
--- a/Kernel/Arch/x86/CPUID.h
+++ b/Kernel/Arch/x86/CPUID.h
@@ -8,6 +8,9 @@
#include <AK/Types.h>
+#include <AK/Platform.h>
+VALIDATE_IS_X86()
+
namespace Kernel {
class CPUID {