Messages in this thread Patch in this message | | | Date | Fri, 2 Jul 2004 21:18:27 +0200 (MEST) | From | Mikael Pettersson <> | Subject | [PATCH][2.6.7-mm5] perfctr ppc32 buglet fix |
| |
Andrew,
This patch fixes a minor buglet in perfctr's ppc32 driver, which prevented 7400/7410-type processors from specifying a non-zero value for the MMCR2[THRESHMULT] control field.
Signed-off-by: Mikael Pettersson <mikpe@csd.uu.se>
--- linux-2.6.7-mm5/drivers/perfctr/ppc.c.~1~ 2004-07-01 18:54:13.000000000 +0200 +++ linux-2.6.7-mm5/drivers/perfctr/ppc.c 2004-07-02 20:53:10.000000000 +0200 @@ -310,6 +310,7 @@ switch (pm_type) { case PM_7450: + case PM_7400: if (state->control.ppc.mmcr2 & MMCR2_RESERVED) return -EINVAL; state->ppc_mmcr[2] = state->control.ppc.mmcr2; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |