]> git.baikalelectronics.ru Git - kernel.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>
Fri, 2 Dec 2011 15:16:33 +0000 (15:16 +0000)
commitf9d2aadc9a78043849b1e3deeb47d7bbb50970a0
treecb03a94b84dcb764de9db1f6ff0285018a792c0a
parentb48a99fcf7251087fb5e1acf0624be9a34f004a0
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