]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm: pmu: allow platform specific irq enable/disable handling
authorMing Lei <ming.lei@canonical.com>
Wed, 2 Mar 2011 07:00:08 +0000 (15:00 +0800)
committerWill Deacon <will.deacon@arm.com>
Wed, 16 Nov 2011 10:53:34 +0000 (10:53 +0000)
commitdb182e400f122f2e81e39d04d29d3b62abb14b0a
tree124128ea905ae18c5aeef3840de44ebc1bebc02b
parente0f1b223047510fb580ffa3ffb8577a0409c5709
arm: pmu: allow platform specific irq enable/disable handling

This patch introduces .enable_irq and .disable_irq into
struct arm_pmu_platdata, so platform specific irq enablement
can be handled after request_irq, and platform specific irq
disablement can be handled before free_irq.

This patch is for support of  pmu irq routed from CTI on omap4.

Acked-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/include/asm/pmu.h
arch/arm/kernel/perf_event.c