From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753509AbaLBOi1 (ORCPT ); Tue, 2 Dec 2014 09:38:27 -0500 Received: from mail-la0-f45.google.com ([209.85.215.45]:41030 "EHLO mail-la0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751424AbaLBOiZ (ORCPT ); Tue, 2 Dec 2014 09:38:25 -0500 MIME-Version: 1.0 In-Reply-To: References: <1417494919-4577-1-git-send-email-oakad@yahoo.com> <1417494919-4577-3-git-send-email-oakad@yahoo.com> <547DA592.7090900@monstr.eu> Date: Tue, 2 Dec 2014 15:38:24 +0100 X-Google-Sender-Auth: RZmFi55-Mi_pYTmwjCmVo_dsY90 Message-ID: Subject: Re: [PATCH 2/2] fs: Wire up sendfd() syscall (all architectures) From: Geert Uytterhoeven To: Alex Dubov Cc: Michal Simek , "linux-kernel@vger.kernel.org" , Alex Dubov Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alex, On Tue, Dec 2, 2014 at 3:31 PM, Alex Dubov wrote: > On Tue, Dec 2, 2014 at 10:42 PM, Michal Simek wrote: >> On 12/02/2014 09:01 AM, Geert Uytterhoeven wrote: >>> This really needs a CC to linux-arch (added). >>> >>> On Tue, Dec 2, 2014 at 5:35 AM, Alex Dubov wrote: >>>> Signed-off-by: Alex Dubov >>>> --- > >> The same for microblaze here >> arch/microblaze/include/asm/unistd.h > > This invites the question as to why the __NR_syscalls macro is not > defined in uapi/asm/unistd.h on those architectures, where it will be > easier to spot? After all, asm/unistd.h includes uapi/asm/unistd.h > unconditionally. Because it's not part of the ABI? There may be multiple ABIs, with multiple syscall ranges. Userspace only needs to know if a syscall is available, not what the valid syscall number range is. The kernel does need to know the size of the full syscall table. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds