diff options
author | 蔡正龙 <zhenglong.cai@cs2c.com.cn> | 2013-12-20 03:04:10 +0100 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2014-01-31 18:21:55 +0100 |
commit | a9302e8439445710552886e7b623dbcfa943a1f2 (patch) | |
tree | f81ad376d8143a745d6f3c1d775ab28f353e75ae /arch/alpha/include/asm/ptrace.h | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mas... (diff) | |
download | linux-a9302e8439445710552886e7b623dbcfa943a1f2.tar.xz linux-a9302e8439445710552886e7b623dbcfa943a1f2.zip |
alpha: Enable system-call auditing support.
Signed-off-by: Zhenglong.cai <zhenglong.cai@cs2c.com.cn>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/include/asm/ptrace.h')
-rw-r--r-- | arch/alpha/include/asm/ptrace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/ptrace.h b/arch/alpha/include/asm/ptrace.h index 21128505ddbe..9047c2fe8f23 100644 --- a/arch/alpha/include/asm/ptrace.h +++ b/arch/alpha/include/asm/ptrace.h @@ -19,4 +19,9 @@ #define force_successful_syscall_return() (current_pt_regs()->r0 = 0) +static inline unsigned long regs_return_value(struct pt_regs *regs) +{ + return regs->r0; +} + #endif |