]> git.baikalelectronics.ru Git - kernel.git/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)
commitbd075b564bbdffecc7b505db2debe5825dcdaff3
treeae912b3b929526184eeca0519550635dc39b5362
parentb5108fd377b1aac75b5c9961d3e73327b54808aa
[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