public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Michael Ellerman <mpe@ellerman•id.au>
To: Denis Kirjanov <kda@linux-powerpc•org>,
	Rashmica Gupta <rashmicy@gmail•com>
Cc: linuxppc-dev@lists•ozlabs.org
Subject: Re: [PATCH] powerpc: Standardise on NR_syscalls rather than __NR_syscalls.
Date: Mon, 23 Nov 2015 14:29:52 +1100	[thread overview]
Message-ID: <1448249392.18775.12.camel@ellerman.id.au> (raw)
In-Reply-To: <CAOJe8K0yHTdymRbEo=itvK-AYiNzQLLspNgTyyzADkzpPxpzHw@mail.gmail.com>

On Thu, 2015-11-19 at 12:15 +0300, Denis Kirjanov wrote:

> On 11/19/15, Rashmica Gupta <rashmicy@gmail•com> wrote:

> > Most architectures use NR_syscalls as the #define for the number of
> > syscalls.
> > 
> > We use __NR_syscalls, and then define NR_syscalls as __NR_syscalls.
> > 
> > __NR_syscalls is not used outside arch code, whereas NR_syscalls is. So as
> > NR_syscalls must be defined and __NR_syscalls does not, replace
> > __NR_syscalls with NR_syscalls.
>
> Hi,
> 
> But what's wrong with the current code? Why do we need such change?

The change log explains it fairly well I think. Which part is not clear?

cheers

  parent reply	other threads:[~2015-11-23  3:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19  6:04 [PATCH] powerpc: Standardise on NR_syscalls rather than __NR_syscalls Rashmica Gupta
2015-11-19  9:15 ` Denis Kirjanov
2015-11-19  9:59   ` Anshuman Khandual
2015-11-19 10:33     ` Benjamin Herrenschmidt
2015-11-23  3:29   ` Michael Ellerman [this message]
2015-11-23  9:28     ` Denis Kirjanov
2015-11-23 10:14       ` Michael Ellerman
2015-11-23  6:23 ` Anshuman Khandual
2015-11-23 23:22   ` Michael Ellerman
2015-11-26 12:15 ` Michael Ellerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1448249392.18775.12.camel@ellerman.id.au \
    --to=mpe@ellerman$(echo .)id.au \
    --cc=kda@linux-powerpc$(echo .)org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=rashmicy@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox