lkml.org 
[lkml]   [2020]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v3 2/8] x86, syscalls: Refactor SYSCALL_DEFINE0 macros
On Thu, Feb 27, 2020 at 5:28 AM Brian Gerst <brgerst@gmail.com> wrote:
>
> Pull the common code out from the SYSCALL_DEFINE0 macros into a new
> __SYS_STUB0 macro. Also conditionalize the X64 version in preparation for
> enabling syscall wrappers on 32-bit native kernels.

Reviewed-by: Andy Lutomirski <luto@kernel.org>

It would be really nice if there was a clean way to get rid of the
0-arg special case, but I don't immediately see one.

--Andy

\
 
 \ /
  Last update: 2020-02-28 19:37    [W:0.129 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site