On Thu, Oct 5, 2017 at 6:59 PM, Shanker Donthineni <shankerd at codeaurora.org> wrote: > +#define MPIDR_TO_SGI_CLUSTER_ID(mpidr) (mpidr & ~0xFUL) This should be "((mpidr) & 0xFUL)", just to be safe.