[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200318183024.GJ22482@gate.crashing.org>
Date: Wed, 18 Mar 2020 13:30:24 -0500
From: Segher Boessenkool <segher@...nel.crashing.org>
To: Christophe Leroy <christophe.leroy@....fr>
Cc: Ravi Bangoria <ravi.bangoria@...ux.ibm.com>, mpe@...erman.id.au,
mikey@...ling.org, apopple@...ux.ibm.com, peterz@...radead.org,
fweisbec@...il.com, oleg@...hat.com, npiggin@...il.com,
linux-kernel@...r.kernel.org, paulus@...ba.org, jolsa@...nel.org,
naveen.n.rao@...ux.vnet.ibm.com, linuxppc-dev@...ts.ozlabs.org,
mingo@...nel.org
Subject: Re: [PATCH 02/15] powerpc/watchpoint: Add SPRN macros for second DAWR
On Tue, Mar 17, 2020 at 11:16:34AM +0100, Christophe Leroy wrote:
>
>
> Le 09/03/2020 à 09:57, Ravi Bangoria a écrit :
> >Future Power architecture is introducing second DAWR. Add SPRN_ macros
> >for the same.
>
> I'm not sure this is called 'macros'. For me a macro is something more
> complex.
It is called "macros" in the C standard, and in common usage as well.
"Object-like macros", as opposed to "function-like macros": there are
no arguments.
> For me those are 'constants'.
That would be more like "static const" in C since 1990 ;-)
Segher
Powered by blists - more mailing lists