diff options
author | Russell Currey <ruscur@russell.cc> | 2018-05-11 18:03:13 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-06-03 20:43:35 +1000 |
commit | 8a792262f320245de0174e6bcb551312f2e2debe (patch) | |
tree | 7bda37d119050a8686af56ac45f639b0f953a868 /arch/powerpc/sysdev/cpm_gpio.c | |
parent | hvc_opal: don't set tb_ticks_per_usec in udbg_init_opal_common() (diff) | |
download | linux-dev-8a792262f320245de0174e6bcb551312f2e2debe.tar.xz linux-dev-8a792262f320245de0174e6bcb551312f2e2debe.zip |
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: Russell Currey <ruscur@russell.cc>
[mpe: Rewrite the assignment to 'he' to avoid ffs() etc.]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev/cpm_gpio.c')
0 files changed, 0 insertions, 0 deletions