summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Mintram <me@jamesrm.com>2021-12-01 17:28:37 +0000
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-12-01 11:22:04 -0800
commit224b865fdad23b38866873c9668f574539b584b7 (patch)
tree942ae91b2e3f09a3521d34b8e7151475a10dbf99
parentb08eb37b11e8dc7ba26b61527c56338c0b4ca0bb (diff)
downloadserenity-224b865fdad23b38866873c9668f574539b584b7.zip
Kernel: Add an x86 include check+error in x86/TSS.h
-rw-r--r--Kernel/Arch/x86/TSS.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Arch/x86/TSS.h b/Kernel/Arch/x86/TSS.h
index 014e352644..ef735ad1f3 100644
--- a/Kernel/Arch/x86/TSS.h
+++ b/Kernel/Arch/x86/TSS.h
@@ -9,6 +9,9 @@
#include <AK/Types.h>
+#include <AK/Platform.h>
+VALIDATE_IS_X86()
+
namespace Kernel {
struct [[gnu::packed]] TSS32 {