ARM 5849/1 ARMv7: fix Oprofile events count

This commit is contained in:
Matt Sealey
2010-10-28 01:44:19 -05:00
parent 4eef68a3c8
commit 14d4ef254c

View File

@@ -191,12 +191,8 @@ int armv7_setup_pmnc(void)
return -EBUSY;
}
/*
* Initialize & Reset PMNC: C bit, D bit and P bit.
* Note: Using a slower count for CCNT (D bit: divide by 64) results
* in a more stable system
*/
armv7_pmnc_write(PMNC_P | PMNC_C | PMNC_D);
/* Initialize & Reset PMNC: C bit nd P bit */
armv7_pmnc_write(PMNC_P | PMNC_C);
for (cnt = CCNT; cnt < CNTMAX; cnt++) {