summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@kernel.org>2021-12-16 22:33:45 +0100
committerVineet Gupta <vineetg@rivosinc.com>2021-12-29 04:48:49 +0100
commit1b2a62becacef79c2340ba39f662cfc313b72fb6 (patch)
treeaa31a71c75d4ad06e51c8522203366c1312d886c /arch/arc/kernel
parentarc: Replace lkml.org links with lore (diff)
downloadlinux-1b2a62becacef79c2340ba39f662cfc313b72fb6.tar.xz
linux-1b2a62becacef79c2340ba39f662cfc313b72fb6.zip
ARC: perf: fix misleading comment about pmu vs counter stop
Signed-off-by: Vineet Gupta <vgupta@ikernel.org>
Diffstat (limited to 'arch/arc/kernel')
-rw-r--r--arch/arc/kernel/perf_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/perf_event.c b/arch/arc/kernel/perf_event.c
index f5dd799ddb9e..35e5fe708840 100644
--- a/arch/arc/kernel/perf_event.c
+++ b/arch/arc/kernel/perf_event.c
@@ -328,7 +328,7 @@ static void arc_pmu_stop(struct perf_event *event, int flags)
}
if (!(event->hw.state & PERF_HES_STOPPED)) {
- /* stop ARC pmu here */
+ /* stop hw counter here */
write_aux_reg(ARC_REG_PCT_INDEX, idx);
/* condition code #0 is always "never" */