diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-01-30 07:33:16 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:16 -0500 |
commit | f6e8e28410c017adb273983057023a17a8791ad3 (patch) | |
tree | 35dbd728a9838158d74947112b09c2530e331aeb /arch/x86/oprofile | |
parent | dbe3533b7f687402651e893d5b3a7b66f22d6487 (diff) |
x86: rename stack_pointer to kernel_trap_sp
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 <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/oprofile')
-rw-r--r-- | arch/x86/oprofile/backtrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/oprofile/backtrace.c b/arch/x86/oprofile/backtrace.c index 0ca4815a2938..e2095cba409f 100644 --- a/arch/x86/oprofile/backtrace.c +++ b/arch/x86/oprofile/backtrace.c | |||
@@ -77,7 +77,7 @@ void | |||
77 | x86_backtrace(struct pt_regs * const regs, unsigned int depth) | 77 | x86_backtrace(struct pt_regs * const regs, unsigned int depth) |
78 | { | 78 | { |
79 | struct frame_head *head = (struct frame_head *)frame_pointer(regs); | 79 | struct frame_head *head = (struct frame_head *)frame_pointer(regs); |
80 | unsigned long stack = stack_pointer(regs); | 80 | unsigned long stack = kernel_trap_sp(regs); |
81 | 81 | ||
82 | if (!user_mode_vm(regs)) { | 82 | if (!user_mode_vm(regs)) { |
83 | if (depth) | 83 | if (depth) |