Re: [PATCH] x86: Rename stack_pointer to kernel_trap_sp

2008-01-18 Thread Ingo Molnar
* Harvey Harrison <[EMAIL PROTECTED]> wrote: > struct frame_head *head = (struct frame_head *)frame_pointer(regs); > - unsigned long stack = stack_pointer(regs); > + unsigned long stack = kernel_trap_sp(regs); thanks, applied. Ingo -- To unsubscribe from this list: send th

[PATCH] x86: Rename stack_pointer to kernel_trap_sp

2008-01-17 Thread Harvey Harrison
Choose a less generic name for such a special case. Add a comment explaining the odd use in X86_32. Change the one user of stack_pointer. Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- arch/x86/oprofile/backtrace.c |2 +- include/asm-x86/ptrace.h |8 +++- 2 files change