summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/perf_event.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2010-11-13 18:18:36 +0100
committerWill Deacon <will.deacon@arm.com>2010-11-25 17:52:07 +0100
commit59a98a1e56edea4d7d9c5f4ce9d50e271a04993c (patch)
treebcc50fef41e703c2d516e8474e0493098811e0ef /arch/arm/kernel/perf_event.c
parentARM: perf: consolidate common PMU behaviour (diff)
downloadlinux-59a98a1e56edea4d7d9c5f4ce9d50e271a04993c.tar.xz
linux-59a98a1e56edea4d7d9c5f4ce9d50e271a04993c.zip
ARM: perf: avoid exposing internal stop function for v6 PMU
Unlike other pmu functions, armv6pmu_pmu_stop is not declared static. This patch adds the missing keyword. Acked-by: Jamie Iles <jamie.iles@jamieiles.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/kernel/perf_event.c')
-rw-r--r--arch/arm/kernel/perf_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/perf_event.c b/arch/arm/kernel/perf_event.c
index c49e1701a2f6..35319b8e4d4b 100644
--- a/arch/arm/kernel/perf_event.c
+++ b/arch/arm/kernel/perf_event.c
@@ -1121,7 +1121,7 @@ armv6pmu_start(void)
spin_unlock_irqrestore(&pmu_lock, flags);
}
-void
+static void
armv6pmu_stop(void)
{
unsigned long flags, val;