diff options
author | Helge Deller <deller@gmx.de> | 2013-10-15 19:25:46 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2013-11-07 22:27:20 +0100 |
commit | 527973c84077eb9273d0b2408655620de2e30136 (patch) | |
tree | d70e6bb6f4c4f1eed2dd9fcdadded6d000ad19c5 /arch/parisc/include/asm/ptrace.h | |
parent | 61dbbaeb86c2181c79efae2d186193e0f8008af1 (diff) |
parisc: add kernel audit feature
Implement missing functions for parisc to provide kernel audit feature.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm/ptrace.h')
-rw-r--r-- | arch/parisc/include/asm/ptrace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/ptrace.h b/arch/parisc/include/asm/ptrace.h index a2db278a5de..3c3cb004b7e 100644 --- a/arch/parisc/include/asm/ptrace.h +++ b/arch/parisc/include/asm/ptrace.h @@ -19,5 +19,9 @@ #define user_stack_pointer(regs) ((regs)->gr[30]) unsigned long profile_pc(struct pt_regs *); +static inline unsigned long regs_return_value(struct pt_regs *regs) +{ + return regs->gr[20]; +} #endif |