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