]> err.no Git - linux-2.6/commit
[PATCH] Add regs_return_value() helper
authorAnanth N Mavinakayanahalli <ananth@in.ibm.com>
Mon, 2 Oct 2006 09:17:31 +0000 (02:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:16 +0000 (07:57 -0700)
commitb3f827cb0fe0660c2eacea2c2f9bdb1f225ff768
treeae912b3b929526184eeca0519550635dc39b5362
parent412998cf6bce78b8dc5f68660e09bf3b4fcbb210
[PATCH] Add regs_return_value() helper

Add the regs_return_value() macro to extract the return value in an
architecture agnostic manner, given the pt_regs.

Other architecture maintainers may want to add similar helpers.

Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/ptrace.h
include/asm-ia64/ptrace.h
include/asm-powerpc/ptrace.h
include/asm-s390/ptrace.h
include/asm-x86_64/ptrace.h