summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-02-25 17:25:34 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-25 17:25:34 +0100
commit8129f3da52eeec0b7cf6c342bdf22580193f8a9b (patch)
tree34bf9637f8ad27e862ce1804d269f92e45a41a01 /Kernel/Syscalls
parent8f70528f301bea948ab8f7a3a0835284dc735dd1 (diff)
downloadserenity-8129f3da52eeec0b7cf6c342bdf22580193f8a9b.zip
Kernel: Move SMAP disabler RAII helper to its own file
Added this in a new directory called Kernel/Arch/x86/ where stuff that applies to both i386 and x86_64 can live.
Diffstat (limited to 'Kernel/Syscalls')
-rw-r--r--Kernel/Syscalls/sigaction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Syscalls/sigaction.cpp b/Kernel/Syscalls/sigaction.cpp
index 3bd36453bc..f89eb775a1 100644
--- a/Kernel/Syscalls/sigaction.cpp
+++ b/Kernel/Syscalls/sigaction.cpp
@@ -24,6 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <Kernel/Arch/x86/SmapDisabler.h>
#include <Kernel/Panic.h>
#include <Kernel/Process.h>