Re: [PATCH 02/15] powerpc/watchpoint: Add SPRN macros for second DAWR
From: Segher Boessenkool <hidden>
Date: 2020-03-18 18:31:09
Also in:
lkml
From: Segher Boessenkool <hidden>
Date: 2020-03-18 18:31:09
Also in:
lkml
On Tue, Mar 17, 2020 at 11:16:34AM +0100, Christophe Leroy wrote:
Le 09/03/2020 à 09:57, Ravi Bangoria a écrit :quoted
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