[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>
Showing
- include/asm-i386/ptrace.h 3 additions, 0 deletionsinclude/asm-i386/ptrace.h
- include/asm-ia64/ptrace.h 3 additions, 0 deletionsinclude/asm-ia64/ptrace.h
- include/asm-powerpc/ptrace.h 2 additions, 0 deletionsinclude/asm-powerpc/ptrace.h
- include/asm-s390/ptrace.h 1 addition, 0 deletionsinclude/asm-s390/ptrace.h
- include/asm-x86_64/ptrace.h 2 additions, 0 deletionsinclude/asm-x86_64/ptrace.h
Loading
Please register or sign in to comment