Subject: perfmon2: context state value is not a mask From: Kevin Corry The 'state' field in the Perfmon2 context is not a mask, so we can't use the '&' operator. Signed-off-by: Kevin Corry Signed-off-by: Carl Love Signed-off-by: Arnd Bergmann Index: linux-2.6/arch/powerpc/perfmon/perfmon_cell.c =================================================================== --- linux-2.6.orig/arch/powerpc/perfmon/perfmon_cell.c +++ linux-2.6/arch/powerpc/perfmon/perfmon_cell.c @@ -561,7 +561,7 @@ static void pfm_cell_irq_handler(struct /* If the hardware-sampling module masked monitoring for this context, * don't re-enable the PMU. */ - if (ctx->state & PFM_CTX_MASKED) { + if (ctx->state == PFM_CTX_MASKED) { return; }