diff options
author | Mark Rutland <[email protected]> | 2016-11-03 20:23:12 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2016-11-11 18:25:45 +0000 |
commit | 1b7e2296a822dfd2349960addc42a139360ce769 (patch) | |
tree | caf118cceca10b7a7ecc3ab7b3019f52d1d409ed /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 57c82954e77fa12c1023e87210d2ede77aaa0058 (diff) |
arm64: assembler: introduce ldr_this_cpu
Shortly we will want to load a percpu variable in the return from
userspace path. We can save an instruction by folding the addition of
the percpu offset into the load instruction, and this patch adds a new
helper to do so.
At the same time, we clean up this_cpu_ptr for consistency. As with
{adr,ldr,str}_l, we change the template to take the destination register
first, and name this dst. Secondly, we rename the macro to adr_this_cpu,
following the scheme of adr_l, and matching the newly added
ldr_this_cpu.
Signed-off-by: Mark Rutland <[email protected]>
Tested-by: Laura Abbott <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: James Morse <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions