aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/vas.h
diff options
context:
space:
mode:
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>2017-08-28 23:23:32 -0700
committerMichael Ellerman <mpe@ellerman.id.au>2017-08-31 14:26:20 +1000
commitb6622a339e8670a1025d4dd84be473c76dabed33 (patch)
tree01494601391163cb2279753f4c51be6ad55e3835 /arch/powerpc/platforms/powernv/vas.h
parentpowerpc/powernv/vas: Define macros, register fields and structures (diff)
downloadlinux-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