summaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/asm/ptrace.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-01-31 23:24:56 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-31 23:24:56 +0100
commitbcc9f96681a1e272b38f16e324d4510823f85730 (patch)
tree415bfe9058797568ea9e894dace067018ba232a2 /arch/alpha/include/asm/ptrace.h
parentMerge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
parentalpha: fix broken network checksum (diff)
downloadlinux-bcc9f96681a1e272b38f16e324d4510823f85730.tar.xz
linux-bcc9f96681a1e272b38f16e324d4510823f85730.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mattst88/alpha
Pull alpha updates from Matt Turner: "A pair of changes for alpha. One fixes a networking regression, and the second adds audit syscall support which will help in supporting systemd" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mattst88/alpha: alpha: fix broken network checksum alpha: Enable system-call auditing support.
Diffstat (limited to 'arch/alpha/include/asm/ptrace.h')
-rw-r--r--arch/alpha/include/asm/ptrace.h5
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