Hi all,

I am trying to use the counter overflow interrupt of PMU(performance
monitor unit) on Omap processor. For ARM1136 I used before, in kernel
there defines an interrupt number which is INT_ARM11_PMU for PMU
overflow interrupt. But for Omap processor, I cannot find any
interrupt number defined for PMU in the kernel. Then I noticed a
function in arch/arm/perf_event.c which is "armpmu_reserve_hardware".
In this function, it seems that it can dynamically get irq number from
PMU device and request it. But when I call this function in my
program, the function sucked at calling "reserve_pmu" and the error
code shows that no PMU device is found(pmu_device==NULL). It seems no
PMU is registered.Can someone give me some suggestions about this. I
really appreciate any help you can offer. Thank you very much.

Regards,
Lason Xia

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to