aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2017-05-03 16:09:36 +0100
committerCatalin Marinas <[email protected]>2017-05-09 17:47:05 +0100
commit55de49f9aa17b0b2b144dd2af587177b9aadf429 (patch)
treeb2642413678ada5a4e3fceca50dd84b5ddf793d1 /tools/perf/scripts/python/export-to-postgresql.py
parenta06040d7a791a9177581dcf7293941bd92400856 (diff)
arm64: armv8_deprecated: ensure extension of addr
Our compat swp emulation holds the compat user address in an unsigned int, which it passes to __user_swpX_asm(). When a 32-bit value is passed in a register, the upper 32 bits of the register are unknown, and we must extend the value to 64 bits before we can use it as a base address. This patch casts the address to unsigned long to ensure it has been suitably extended, avoiding the potential issue, and silencing a related warning from clang. Fixes: bd35a4adc413 ("arm64: Port SWP/SWPB emulation support from arm") Cc: <[email protected]> # 3.19.x- Acked-by: Will Deacon <[email protected]> Signed-off-by: Mark Rutland <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions