diff options
author | Will Deacon <will.deacon@arm.com> | 2010-11-13 17:18:36 (GMT) |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2010-11-25 16:52:07 (GMT) |
commit | 59a98a1e56edea4d7d9c5f4ce9d50e271a04993c (patch) | |
tree | bcc50fef41e703c2d516e8474e0493098811e0ef /arch | |
parent | 84fee97a026ca085f08381054513f9e24689a303 (diff) | |
download | linux-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.c | 2 |
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; |