mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-09-23 15:14:12 +00:00
ARM 5849/1 ARMv7: fix Oprofile events count
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user