]> Pileus Git - ~andy/linux/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)
commite0516a64e7ea9d9522d98f9f5f47aa38f147779f
treecb03a94b84dcb764de9db1f6ff0285018a792c0a
parent14eec97ff4635977b026a53b27915ab0dec51e94
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