diff options
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-cpu-debug.c')
-rw-r--r-- | drivers/hwtracing/coresight/coresight-cpu-debug.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/drivers/hwtracing/coresight/coresight-cpu-debug.c b/drivers/hwtracing/coresight/coresight-cpu-debug.c index 9cdb3fbc8c1f..45b2460f3166 100644 --- a/drivers/hwtracing/coresight/coresight-cpu-debug.c +++ b/drivers/hwtracing/coresight/coresight-cpu-debug.c | |||
@@ -1,20 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2017 Linaro Limited. All rights reserved. | 3 | * Copyright (c) 2017 Linaro Limited. All rights reserved. |
3 | * | 4 | * |
4 | * Author: Leo Yan <leo.yan@linaro.org> | 5 | * Author: Leo Yan <leo.yan@linaro.org> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, but WITHOUT | ||
11 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
13 | * more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License along with | ||
16 | * this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | * | ||
18 | */ | 6 | */ |
19 | #include <linux/amba/bus.h> | 7 | #include <linux/amba/bus.h> |
20 | #include <linux/coresight.h> | 8 | #include <linux/coresight.h> |
@@ -315,7 +303,7 @@ static void debug_dump_regs(struct debug_drvdata *drvdata) | |||
315 | } | 303 | } |
316 | 304 | ||
317 | pc = debug_adjust_pc(drvdata); | 305 | pc = debug_adjust_pc(drvdata); |
318 | dev_emerg(dev, " EDPCSR: [<%px>] %pS\n", (void *)pc, (void *)pc); | 306 | dev_emerg(dev, " EDPCSR: %pS\n", (void *)pc); |
319 | 307 | ||
320 | if (drvdata->edcidsr_present) | 308 | if (drvdata->edcidsr_present) |
321 | dev_emerg(dev, " EDCIDSR: %08x\n", drvdata->edcidsr); | 309 | dev_emerg(dev, " EDCIDSR: %08x\n", drvdata->edcidsr); |