diff options
author | Will Deacon <will.deacon@arm.com> | 2010-04-29 17:13:24 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-17 11:53:57 +0100 |
commit | 49c006b93769a86bec2b32b9234abf016ac0d50e (patch) | |
tree | 6784e69f48186c6edc6e9130fc1680a31cec0ce4 /arch/arm/include/asm/perf_event.h | |
parent | c39e52a793f5599582dbacf4d8f62634a492f79e (diff) |
ARM: 6064/1: pmu: register IRQs at runtime
The current PMU infrastructure for ARM requires that the IRQs for the PMU
device are fixed at compile time and are selected based on the ARCH_ or MACH_ flags. This has the disadvantage of tying the Kernel down to a
particular board as far as profiling is concerned.
This patch replaces the compile-time IRQ registration with a runtime mechanism which allows the IRQs to be registered with the framework as
a platform_device.
A further advantage of this change is that there is scope for registering
different types of performance counters in the future by changing the id
of the platform_device and attaching different resources to it.
Acked-by: Jamie Iles <jamie.iles@picochip.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/perf_event.h')
0 files changed, 0 insertions, 0 deletions