]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitf1df280f53d7c3ce8613a3b25d1efe009b9860dd
tree7b9d6d837355bd913fb5b41017556f1137adee18
parentab483570a13be2a34c0502b166df8f8b26802103
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