arm64: Add regs_return_value() in syscall.h
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 30 Apr 2014 09:51:31 +0000 (10:51 +0100)
committerJP Abgrall <jpa@google.com>
Thu, 18 Sep 2014 01:18:47 +0000 (18:18 -0700)
commit4b3735631fcc1056af00e382833727342f12c259
tree916164172f00887d6a707aa956d1125dae0e07e5
parent3e21c0bb663a23436e0eb3f61860d4fedc233bab
arm64: Add regs_return_value() in syscall.h

This macro, regs_return_value, is used mainly for audit to record system
call's results, but may also be used in test_kprobes.c.

Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/ptrace.h