Browse Source

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>
Will Deacon 14 years ago
parent
commit
59a98a1e56
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/kernel/perf_event.c

+ 1 - 1
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;