summaryrefslogtreecommitdiff
path: root/Kernel/Arch
diff options
context:
space:
mode:
authorJames Mintram <me@jamesrm.com>2021-12-01 17:12:11 +0000
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-12-01 11:22:04 -0800
commitb9ae6daa0257d77c48e6557b40b97b39f67be19c (patch)
tree9af75f351066755cafab86ebeeeeb70e5ae50894 /Kernel/Arch
parented2aa96511c7354cac4b6fc5dfe81054eea43988 (diff)
downloadserenity-b9ae6daa0257d77c48e6557b40b97b39f67be19c.zip
Kernel: Add an x86 include check+error in x86/Inerrupts.h
Diffstat (limited to 'Kernel/Arch')
-rw-r--r--Kernel/Arch/x86/Interrupts.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Arch/x86/Interrupts.h b/Kernel/Arch/x86/Interrupts.h
index f97b82c43f..1da549ee12 100644
--- a/Kernel/Arch/x86/Interrupts.h
+++ b/Kernel/Arch/x86/Interrupts.h
@@ -10,6 +10,9 @@
#include <AK/Types.h>
#include <Kernel/Interrupts/GenericInterruptHandler.h>
+#include <AK/Platform.h>
+VALIDATE_IS_X86()
+
namespace Kernel {
class GenericInterruptHandeler;