]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARC: perf: fix misleading comment about pmu vs counter stop
authorVineet Gupta <vgupta@kernel.org>
Thu, 16 Dec 2021 21:33:45 +0000 (13:33 -0800)
committerVineet Gupta <vineetg@rivosinc.com>
Wed, 29 Dec 2021 03:48:49 +0000 (19:48 -0800)
Signed-off-by: Vineet Gupta <vgupta@ikernel.org>
arch/arc/kernel/perf_event.c

index f5dd799ddb9e6d0d23ad406b8e3ddb40604aa738..35e5fe7088406cfcd4c7181ca7c40986607792df 100644 (file)
@@ -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" */