summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/perf_event.h
diff options
context:
space:
mode:
authorJinchao Wang <wjc@cdjrlc.com>2021-06-26 13:58:28 +0800
committerVineet Gupta <vgupta@synopsys.com>2021-08-03 18:58:33 -0700
commitd4067395519b40d4ee9b7c26347233e4ae59f900 (patch)
treed3735faa3368bc55fa89461bece5dcc76aa0f1de /arch/arc/include/asm/perf_event.h
parentc500bee1c5b2f1d59b1081ac879d73268ab0ff17 (diff)
downloadlinux-d4067395519b40d4ee9b7c26347233e4ae59f900.tar.bz2
arc: Prefer unsigned int to bare use of unsigned
Fix checkpatch warnings: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: Jinchao Wang <wjc@cdjrlc.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/perf_event.h')
-rw-r--r--arch/arc/include/asm/perf_event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/include/asm/perf_event.h b/arch/arc/include/asm/perf_event.h
index 30b9ae511ea9..e1971d34ef30 100644
--- a/arch/arc/include/asm/perf_event.h
+++ b/arch/arc/include/asm/perf_event.h
@@ -123,7 +123,7 @@ static const char * const arc_pmu_ev_hw_map[] = {
#define C(_x) PERF_COUNT_HW_CACHE_##_x
#define CACHE_OP_UNSUPPORTED 0xffff
-static const unsigned arc_pmu_cache_map[C(MAX)][C(OP_MAX)][C(RESULT_MAX)] = {
+static const unsigned int arc_pmu_cache_map[C(MAX)][C(OP_MAX)][C(RESULT_MAX)] = {
[C(L1D)] = {
[C(OP_READ)] = {
[C(RESULT_ACCESS)] = PERF_COUNT_ARC_LDC,