diff options
author | 2017-06-26 15:16:25 +0200 | |
---|---|---|
committer | 2017-06-29 11:33:01 +0100 | |
commit | c0d109de4c0ca365a2bd180e2e65501196fa8ef4 (patch) | |
tree | e5f54f217c4e2b7f1d52901d7fb88214f3a72f15 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | arm64: fix endianness annotation for reloc_insn_movw() & reloc_insn_imm() (diff) | |
download | wireguard-linux-c0d109de4c0ca365a2bd180e2e65501196fa8ef4.tar.xz wireguard-linux-c0d109de4c0ca365a2bd180e2e65501196fa8ef4.zip |
arm64: use readq() instead of readl() to read 64bit entry_point
Here the entrypoint, declared as a 64 bit integer, is read from
a pointer to 64bit integer but the read is done via readl_relaxed()
which is for 32bit quantities.
All the high bits will thus be lost which change the meaning
of the test against zero done later.
Fix this by using readq_relaxed() instead as it should be for
64bit quantities.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions