aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorMarc Zyngier <Marc.Zyngier@arm.com>2012-11-22 13:05:55 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-11-23 13:01:30 +0000
commitc7cc504bc351e41e871e317ca7f032f4562f34ad (patch)
tree4e3dc63c90467067eb55990c307bb125f3f79f5e /arch/arm/kernel
parent82b5df7bf27ca6cf642499bc3bcae1c93b9ac4ba (diff)
downloadvexpress-lsk-c7cc504bc351e41e871e317ca7f032f4562f34ad.tar.gz
ARM: 7584/1: perf: fix link error when CONFIG_HW_PERF_EVENTS is not selected
Commit e50c541 (ARM: perf: add guest vs host discrimination) broken the link as perf_instruction_pointer and perf_misc_flags are not defined when CONFIG_HW_PERF_EVENTS is not selected. As it make little sense to try and profile a guest without any HW event, just fallback to the original code when this config option is not selected. Reported-by: Russell King <linux@arm.linux.org.uk> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel')
0 files changed, 0 insertions, 0 deletions