summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorAndrew Murray <andrew.murray@arm.com>2019-01-18 14:02:27 +0000
committerWill Deacon <will.deacon@arm.com>2019-01-19 22:57:38 +0000
commitb36506787cf19a3eb1116d5dcdef2e2ad5b2933a (patch)
tree81f8c6d1dddcbb87ab093510e9682aed33f8b1bc /arch/arm64
parentc061ce249f9bd21a7b6effa46a99563b876f76b6 (diff)
downloadblackbird-op-linux-b36506787cf19a3eb1116d5dcdef2e2ad5b2933a.tar.gz
blackbird-op-linux-b36506787cf19a3eb1116d5dcdef2e2ad5b2933a.zip
arm64: perf: remove misleading comment
The comment for the armv8pmu_set_event_filter function suggests that it only works for PMUv2 PMUs - this is incorrect. Let's remove the incorrect comment. Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Andrew Murray <andrew.murray@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/kernel/perf_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/perf_event.c b/arch/arm64/kernel/perf_event.c
index 1620a371b1f5..4addb38bc250 100644
--- a/arch/arm64/kernel/perf_event.c
+++ b/arch/arm64/kernel/perf_event.c
@@ -810,7 +810,7 @@ static void armv8pmu_clear_event_idx(struct pmu_hw_events *cpuc,
}
/*
- * Add an event filter to a given event. This will only work for PMUv2 PMUs.
+ * Add an event filter to a given event.
*/
static int armv8pmu_set_event_filter(struct hw_perf_event *event,
struct perf_event_attr *attr)
OpenPOWER on IntegriCloud