From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Brauner Date: Thu, 14 May 2020 10:51:27 +0000 Subject: Re: [PATCH] ia64: enable HAVE_COPY_THREAD_TLS, switch to kernel_clone_args Message-Id: <20200514105127.lb3ysba7wik2de6n@wittgenstein> List-Id: References: <20200514074606.vkc35syhdep23rzh@wittgenstein> <6b298416-1e64-eee7-0bb4-3b1f7f67adc6@physik.fu-berlin.de> <20200514100459.pt7dxq2faghdds2c@wittgenstein> <2e22b0d2-b9ce-420d-48a0-0d9134108a5c@physik.fu-berlin.de> <20200514101540.25hvle74w63t66fs@wittgenstein> <20200514101914.fu7xhgaxtb5fy2ky@wittgenstein> <4aad9ad5-b0e9-12b0-0ad2-ac23fceae87b@physik.fu-berlin.de> <20200514103259.tdfjc5ds4igpmoxj@wittgenstein> <877dxe6bhm.fsf@igel.home> In-Reply-To: <877dxe6bhm.fsf@igel.home> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andreas Schwab Cc: John Paul Adrian Glaubitz , "Luck, Tony" , "Yu, Fenghua" , "linux-ia64@vger.kernel.org" , Al Viro , Arnd Bergmann , Thomas Gleixner , Ingo Molnar , Sebastian Andrzej Siewior , "Peter Zijlstra (Intel)" , Qais Yousef , "linux-kernel@vger.kernel.org" On Thu, May 14, 2020 at 12:45:41PM +0200, Andreas Schwab wrote: > On Mai 14 2020, Christian Brauner wrote: > > > pid = syscall(189 /* __NR_clone2 */, SIGCHLD, stack, STACK_SIZE, NULL, NULL); > > Syscall 189 doesn't exist on ia64, they start with 1024 (and __NR_clone2 > is 1213). Ugh, the numbering needs to be: # Add 1024 to will get the actual system call number well ok. Thanks! Christian