ARM: perf: avoid exposing internal stop function for v6 PMU
authorWill Deacon <will.deacon@arm.com>
Sat, 13 Nov 2010 17:18:36 +0000 (17:18 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 25 Nov 2010 16:52:07 +0000 (16:52 +0000)
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>
arch/arm/kernel/perf_event.c

index c49e170..35319b8 100644 (file)
@@ -1121,7 +1121,7 @@ armv6pmu_start(void)
        spin_unlock_irqrestore(&pmu_lock, flags);
 }
 
-void
+static void
 armv6pmu_stop(void)
 {
        unsigned long flags, val;