Переглянути джерело

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

James Mintram 3 роки тому
батько
коміт
70a18a2271
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      Kernel/Arch/x86/MSR.h

+ 3 - 0
Kernel/Arch/x86/MSR.h

@@ -10,6 +10,9 @@
 
 
 #include <Kernel/Arch/x86/CPUID.h>
 #include <Kernel/Arch/x86/CPUID.h>
 
 
+#include <AK/Platform.h>
+VALIDATE_IS_X86()
+
 namespace Kernel {
 namespace Kernel {
 
 
 class MSR {
 class MSR {