Skip to content

Commit

Permalink
ARM: perf: avoid exposing internal stop function for v6 PMU
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Will Deacon committed Nov 25, 2010
1 parent 84fee97 commit 59a98a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ armv6pmu_start(void)
spin_unlock_irqrestore(&pmu_lock, flags);
}

void
static void
armv6pmu_stop(void)
{
unsigned long flags, val;
Expand Down

0 comments on commit 59a98a1

Please sign in to comment.