]> git.baikalelectronics.ru Git - kernel.git/commit
x86: introduce frame_pointer() and stack_pointer()
authorJan Blunck <jblunck@suse.de>
Fri, 19 Oct 2007 18:35:04 +0000 (20:35 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 19 Oct 2007 18:35:04 +0000 (20:35 +0200)
commit8b20adb73902e66c865a51eab2b39e6b3c5cacf6
tree7b9d6d837355bd913fb5b41017556f1137adee18
parent17cf342ee171bfca1e486e1da013d25261208398
x86: introduce frame_pointer() and stack_pointer()

This patch defines frame_pointer() and stack_pointer() similar to the
already defined instruction_pointer(). Thus the oprofile code can be
written in a more readable fashion.

[ tglx: arch/x86 adaptation ]

Signed-off-by: Jan Blunck <jblunck@suse.de>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/oprofile/backtrace.c
include/asm-x86/ptrace_32.h
include/asm-x86/ptrace_64.h