summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2022-05-16 14:42:49 +0200
committerLinus Groh <mail@linusgroh.de>2022-06-02 13:14:12 +0100
commita4534678f978c7ea62b70bc8ab4bdc8f6437f90a (patch)
tree05d79a605c96f8bf8ab9afc1c87c464f78e8ca34 /Kernel/Syscalls
parentea9cf8b6ab6a3941ecb4727723e8e38fbd6b4bb8 (diff)
downloadserenity-a4534678f978c7ea62b70bc8ab4bdc8f6437f90a.zip
Kernel: Implement InterruptDisabler using generic Processor functions
Now that the code does not use architectural specific code, it is moved to the generic Arch directory and the paths are modified accordingly.
Diffstat (limited to 'Kernel/Syscalls')
-rw-r--r--Kernel/Syscalls/kill.cpp2
-rw-r--r--Kernel/Syscalls/setpgid.cpp2
-rw-r--r--Kernel/Syscalls/sigaction.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Syscalls/kill.cpp b/Kernel/Syscalls/kill.cpp
index 66067584e5..58c3409b5d 100644
--- a/Kernel/Syscalls/kill.cpp
+++ b/Kernel/Syscalls/kill.cpp
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
-#include <Kernel/Arch/x86/InterruptDisabler.h>
+#include <Kernel/Arch/InterruptDisabler.h>
#include <Kernel/Process.h>
namespace Kernel {
diff --git a/Kernel/Syscalls/setpgid.cpp b/Kernel/Syscalls/setpgid.cpp
index 9d3f58e13d..d2976c9aa5 100644
--- a/Kernel/Syscalls/setpgid.cpp
+++ b/Kernel/Syscalls/setpgid.cpp
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
-#include <Kernel/Arch/x86/InterruptDisabler.h>
+#include <Kernel/Arch/InterruptDisabler.h>
#include <Kernel/Process.h>
#include <Kernel/TTY/TTY.h>
diff --git a/Kernel/Syscalls/sigaction.cpp b/Kernel/Syscalls/sigaction.cpp
index 38c5cd19ff..c5a94d27c1 100644
--- a/Kernel/Syscalls/sigaction.cpp
+++ b/Kernel/Syscalls/sigaction.cpp
@@ -5,8 +5,8 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
+#include <Kernel/Arch/InterruptDisabler.h>
#include <Kernel/Arch/SmapDisabler.h>
-#include <Kernel/Arch/x86/InterruptDisabler.h>
#include <Kernel/Process.h>
namespace Kernel {