From mboxrd@z Thu Jan 1 00:00:00 1970 From: Firoz Khan Subject: Re: [PATCH 2/4] sparc: Replace NR_SYSCALLS macro with __NR_SYSCALLS Date: Tue, 18 Sep 2018 15:15:18 +0530 Message-ID: References: <1536036087-15260-1-git-send-email-firoz.khan@linaro.org> <1536036087-15260-3-git-send-email-firoz.khan@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Arnd Bergmann Cc: David Miller , sparclinux , gregkh , Philippe Ombredanne , Thomas Gleixner , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , linux-arch , Deepa Dinamani , Marcin Juszkiewicz List-Id: linux-arch.vger.kernel.org On 6 September 2018 at 20:59, Arnd Bergmann wrote: > On Tue, Sep 4, 2018 at 6:42 AM Firoz Khan wrote: > >> >> -#define NR_syscalls 361 >> +#define __NR_syscalls 361 > > What about the suggestion that was made earlier to enclose this in > #ifdef __KERNEL__? The issue, keeping __NR_syscalls in uapi header was pointed out by Michal Simek (microblaze) and Geert Uytterhoeven (m68k). I replied them with this suggestion (enclose with #ifdef __KERNEL__). Once they agree, my next version of patch series will have this change. - Firoz From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-f196.google.com ([209.85.219.196]:40700 "EHLO mail-yb1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728783AbeIRPRH (ORCPT ); Tue, 18 Sep 2018 11:17:07 -0400 Received: by mail-yb1-f196.google.com with SMTP id w7-v6so529304ybm.7 for ; Tue, 18 Sep 2018 02:45:19 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1536036087-15260-1-git-send-email-firoz.khan@linaro.org> <1536036087-15260-3-git-send-email-firoz.khan@linaro.org> From: Firoz Khan Date: Tue, 18 Sep 2018 15:15:18 +0530 Message-ID: Subject: Re: [PATCH 2/4] sparc: Replace NR_SYSCALLS macro with __NR_SYSCALLS Content-Type: text/plain; charset="UTF-8" Sender: linux-arch-owner@vger.kernel.org List-ID: To: Arnd Bergmann Cc: David Miller , sparclinux , gregkh , Philippe Ombredanne , Thomas Gleixner , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , linux-arch , Deepa Dinamani , Marcin Juszkiewicz Message-ID: <20180918094518.7mbsAJCmYcGDFoaSrbHYqdfJz9XS2m3KkdfZlhBlpVM@z> On 6 September 2018 at 20:59, Arnd Bergmann wrote: > On Tue, Sep 4, 2018 at 6:42 AM Firoz Khan wrote: > >> >> -#define NR_syscalls 361 >> +#define __NR_syscalls 361 > > What about the suggestion that was made earlier to enclose this in > #ifdef __KERNEL__? The issue, keeping __NR_syscalls in uapi header was pointed out by Michal Simek (microblaze) and Geert Uytterhoeven (m68k). I replied them with this suggestion (enclose with #ifdef __KERNEL__). Once they agree, my next version of patch series will have this change. - Firoz