summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Mintram <me@jamesrm.com>2021-12-01 17:13:02 +0000
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-12-01 11:22:04 -0800
commit70a18a2271b57b4263a3a8ee50a402a6ca356505 (patch)
treeec499bb45605cdc0fb4c9e1b8a95d2a194adc10a
parentbffc3da9d797921c9fad2879ca2d7d2f0f5808e5 (diff)
downloadserenity-70a18a2271b57b4263a3a8ee50a402a6ca356505.zip
Kernel: Add an x86 include check+error in x86/MSR.h
-rw-r--r--Kernel/Arch/x86/MSR.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Arch/x86/MSR.h b/Kernel/Arch/x86/MSR.h
index 4638b81c59..1acc1dfb41 100644
--- a/Kernel/Arch/x86/MSR.h
+++ b/Kernel/Arch/x86/MSR.h
@@ -10,6 +10,9 @@
#include <Kernel/Arch/x86/CPUID.h>
+#include <AK/Platform.h>
+VALIDATE_IS_X86()
+
namespace Kernel {
class MSR {