diff options
| author | Robin Murphy <[email protected]> | 2016-10-18 13:46:27 +0100 |
|---|---|---|
| committer | Catalin Marinas <[email protected]> | 2016-11-07 18:15:03 +0000 |
| commit | 4890ae46911c99d61fb622605c2d81bf8c86b209 (patch) | |
| tree | 5d62056f1f1f9cea14cc0c658786917ae647e2ba /net/unix/af_unix.c | |
| parent | be8f185d8af4dbd450023a42a48c6faa8cbcdfe6 (diff) | |
arm64/kprobes: Tidy up sign-extension usage
Kprobes does not need its own homebrewed (and frankly inscrutable) sign
extension macro; just use the standard kernel functions instead. Since
the compiler actually recognises the sign-extension idiom of the latter,
we also get the small bonus of some nicer codegen, as each displacement
calculation helper then compiles to a single optimal SBFX instruction.
Signed-off-by: Robin Murphy <[email protected]>
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions