diff options
author | James Mintram <me@jamesrm.com> | 2021-12-01 17:28:37 +0000 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-12-01 11:22:04 -0800 |
commit | 224b865fdad23b38866873c9668f574539b584b7 (patch) | |
tree | 942ae91b2e3f09a3521d34b8e7151475a10dbf99 | |
parent | b08eb37b11e8dc7ba26b61527c56338c0b4ca0bb (diff) | |
download | serenity-224b865fdad23b38866873c9668f574539b584b7.zip |
Kernel: Add an x86 include check+error in x86/TSS.h
-rw-r--r-- | Kernel/Arch/x86/TSS.h | 3 |
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 { |