Re: powerpc/xive: Remove (almost) unused macros

2018-06-04 Thread Michael Ellerman
On Fri, 2018-05-11 at 08:03:13 UTC, Russell Currey wrote: > The GETFIELD and SETFIELD macros in xive-regs.h aren't used except for a > single instance of GETFIELD, so replace that and remove them. > > These macros are also defined in vas.h, so either those should be > eventually replaced or the

Re: [PATCH] powerpc/xive: Remove (almost) unused macros

2018-05-13 Thread Michael Ellerman
Russell Currey writes: > diff --git a/arch/powerpc/sysdev/xive/native.c > b/arch/powerpc/sysdev/xive/native.c > index b48454be5b98..3b471c0193ca 100644 > --- a/arch/powerpc/sysdev/xive/native.c > +++ b/arch/powerpc/sysdev/xive/native.c > @@ -341,7 +341,7 @@ static void

[PATCH] powerpc/xive: Remove (almost) unused macros

2018-05-11 Thread Russell Currey
The GETFIELD and SETFIELD macros in xive-regs.h aren't used except for a single instance of GETFIELD, so replace that and remove them. These macros are also defined in vas.h, so either those should be eventually replaced or the macros moved into bitops.h. Signed-off-by: Russell Currey