diff options
author | 2017-08-28 23:23:32 -0700 | |
---|---|---|
committer | 2017-08-31 14:26:20 +1000 | |
commit | b6622a339e8670a1025d4dd84be473c76dabed33 (patch) | |
tree | 01494601391163cb2279753f4c51be6ad55e3835 /arch/powerpc/platforms/powernv/vas.h | |
parent | powerpc/powernv/vas: Define macros, register fields and structures (diff) | |
download | linux-dev-b6622a339e8670a1025d4dd84be473c76dabed33.tar.xz linux-dev-b6622a339e8670a1025d4dd84be473c76dabed33.zip |
powerpc/powernv: Move GET_FIELD/SET_FIELD to vas.h
Move the GET_FIELD and SET_FIELD macros to vas.h as VAS and other
users of VAS, including NX-842 can use those macros.
There is a lot of related code between the VAS/NX kernel drivers
and skiboot. For consistency, switch the order of parameters in
SET_FIELD to match the order in skiboot.
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Reviewed-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions