mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 00:31:14 +00:00
Kernel: Add an x86 include check+error in x86/InerruptDisabler.h
This commit is contained in:
parent
62d86afee9
commit
ed2aa96511
Notes:
sideshowbarker
2024-07-17 23:14:58 +09:00
Author: https://github.com/jamesmintram Commit: https://github.com/SerenityOS/serenity/commit/ed2aa96511c Pull-request: https://github.com/SerenityOS/serenity/pull/11141 Reviewed-by: https://github.com/bgianfo ✅ Reviewed-by: https://github.com/kleinesfilmroellchen ✅
|
@ -12,6 +12,9 @@
|
|||
|
||||
#include <Kernel/Arch/x86/ASM_wrapper.h>
|
||||
|
||||
#include <AK/Platform.h>
|
||||
VALIDATE_IS_X86()
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
class InterruptDisabler {
|
||||
|
|
Loading…
Reference in a new issue