From 2dc6760f3c1013796e4d05798aff824c85bc5265 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sun, 10 Sep 2017 11:12:29 +0000
Subject: [PATCH] i386: add arch_prctl syscall number from linux v4.12

syscall for i386 compat mode on x86_64 for non-x86_64 prctls.
new in linux commit 79170fda313ed5be2394f87aa2a00d597f8ed4a1
---
 arch/i386/bits/syscall.h.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/i386/bits/syscall.h.in b/arch/i386/bits/syscall.h.in
index b556d83b..27e72fec 100644
--- a/arch/i386/bits/syscall.h.in
+++ b/arch/i386/bits/syscall.h.in
@@ -381,4 +381,5 @@
 #define __NR_pkey_alloc		381
 #define __NR_pkey_free		382
 #define __NR_statx		383
+#define __NR_arch_prctl		384
 
-- 
2.40.0