Skip to content
Commit 8a792262 authored by Russell Currey's avatar Russell Currey Committed by Michael Ellerman
Browse files

powerpc/xive: Remove (almost) unused macros



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: default avatarRussell Currey <ruscur@russell.cc>
[mpe: Rewrite the assignment to 'he' to avoid ffs() etc.]
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 447808bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment