On ke, 2017-02-08 at 18:18 -0800, Michel Thierry wrote: > Moving bit operations to the new header file. > > Signed-off-by: Michel Thierry <michel.thierry@xxxxxxxxx> > #define BIT_GET(num, bit) (((num) >> (bit)) & 1) Maybe name the args (val, nr) for consistency with BIT() Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx