aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2021-10-01 18:48:45 +0800
committerWill Deacon <will@kernel.org>2021-10-04 13:13:11 +0100
commit78cac393b4642eb5936d9c0685acd50d8370648f (patch)
treebe24ec37efe071baaff2183aeda927eed36be1e1 /tools/perf/util/c++/clang.cpp
parent16cc4af286aae85859ee39e25d21f3d910f8175d (diff)
drivers/perf: thunderx2_pmu: Change data in size tx2_uncore_event_update()
A LSL of 32 requires > 32b value to hold the result. However in tx2_uncore_event_update(), 1UL << 32 currently only works as unsigned long is 64b on a 64b system. If we want to compile test for a 32b system, we need unsigned long long, whose min size is 64b. Signed-off-by: John Garry <john.garry@huawei.com> Link: https://lore.kernel.org/r/1633085326-156653-2-git-send-email-john.garry@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions