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

This commit is contained in:
James Mintram 2021-12-01 17:11:57 +00:00 committed by Brian Gianforcaro
parent 62d86afee9
commit ed2aa96511

View file

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