diff options
| author | Mark Rutland <[email protected]> | 2016-09-07 11:07:09 +0100 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2016-09-12 10:46:07 +0100 |
| commit | 6ba3b554f5b9b53cb99c0edb93f0ea855fbc712a (patch) | |
| tree | e9dc583beb65d3deb66fa72184afe4ed8550f9af /tools/lib/api/debug-internal.h | |
| parent | 792d47379f4d4c76692f1795f33d38582f8907fa (diff) | |
arm64: use alternative auto-nop
Make use of the new alternative_if and alternative_else_nop_endif and
get rid of our homebew NOP sleds, making the code simpler to read.
Note that for cpu_do_switch_mm the ret has been moved out of the
alternative sequence, and in the default case there will be three
additional NOPs executed.
Signed-off-by: Mark Rutland <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: James Morse <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/lib/api/debug-internal.h')
0 files changed, 0 insertions, 0 deletions