summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2010-11-13 17:18:36 (GMT)
committerWill Deacon <will.deacon@arm.com>2010-11-25 16:52:07 (GMT)
commit59a98a1e56edea4d7d9c5f4ce9d50e271a04993c (patch)
treebcc50fef41e703c2d516e8474e0493098811e0ef /arch
parent84fee97a026ca085f08381054513f9e24689a303 (diff)
downloadlinux-fsl-qoriq-59a98a1e56edea4d7d9c5f4ce9d50e271a04993c.tar.xz
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')
-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 c49e170..35319b8 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;