Re: [PATCH v3 02/10] Move GET_FIELD/SET_FIELD to vas.h

2017-03-17 Thread Dan Streetman
On Thu, Mar 16, 2017 at 11:33 PM, Sukadev Bhattiprolu wrote: > 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 ord

[PATCH v3 02/10] Move GET_FIELD/SET_FIELD to vas.h

2017-03-16 Thread Sukadev Bhattiprolu
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-of