aboutsummaryrefslogtreecommitdiff
path: root/drivers/gator/gator_events_perf_pmu.c
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2014-08-04 15:47:44 +0100
committerJon Medhurst <tixy@linaro.org>2014-08-04 15:47:44 +0100
commite31266f78058409d18d48e0afa8339e77322b17f (patch)
treefbdd0afe24d93c24efd14e14634ea8e8aff39228 /drivers/gator/gator_events_perf_pmu.c
parent15ce78dafc08b1c5c3ec8f42070ae37160b5154c (diff)
gator: Version 5.19
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'drivers/gator/gator_events_perf_pmu.c')
-rw-r--r--drivers/gator/gator_events_perf_pmu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gator/gator_events_perf_pmu.c b/drivers/gator/gator_events_perf_pmu.c
index 8b2d67a058b3..06bbad5b10c3 100644
--- a/drivers/gator/gator_events_perf_pmu.c
+++ b/drivers/gator/gator_events_perf_pmu.c
@@ -470,10 +470,10 @@ static void gator_events_perf_pmu_cci_init(const int type)
switch (probe_cci_revision()) {
case 0:
- cci_name = "cci-400";
+ cci_name = "CCI_400";
break;
case 1:
- cci_name = "cci-400-r1";
+ cci_name = "CCI_400-r1";
break;
default:
pr_debug("gator: unrecognized cci-400 revision\n");
@@ -549,7 +549,7 @@ int gator_events_perf_pmu_init(void)
}
if (pe->pmu != NULL && type == pe->pmu->type) {
- if (strcmp("CCI", pe->pmu->name) == 0 || strcmp("CCI_400", pe->pmu->name) == 0) {
+ if (strcmp("CCI", pe->pmu->name) == 0 || strcmp("CCI_400", pe->pmu->name) == 0 || strcmp("CCI_400-r1", pe->pmu->name) == 0) {
gator_events_perf_pmu_cci_init(type);
} else if ((gator_cpu = gator_find_cpu_by_pmu_name(pe->pmu->name)) != NULL) {
found_cpu = true;