diff options
author | Anton Blanchard <anton@samba.org> | 2014-10-13 19:41:39 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-10-15 11:23:20 +1100 |
commit | acf620ecf56cfc4edaffaf158250e128539cdd26 (patch) | |
tree | d2ec25a6890d89232feb266f6dc815064ca3f155 /arch/powerpc/kernel/process.c | |
parent | bfe9a2cfe91a1c920f152ce5fd0a9ad74b3daf12 (diff) | |
download | op-kernel-dev-acf620ecf56cfc4edaffaf158250e128539cdd26.zip op-kernel-dev-acf620ecf56cfc4edaffaf158250e128539cdd26.tar.gz |
powerpc: Rename __get_SP() to current_stack_pointer()
Michael points out that __get_SP() is a pretty horrible
function name. Let's give it a better name.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r-- | arch/powerpc/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 3cc6439..923cd2d 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c @@ -1545,7 +1545,7 @@ void show_stack(struct task_struct *tsk, unsigned long *stack) tsk = current; if (sp == 0) { if (tsk == current) - sp = __get_SP(); + sp = current_stack_pointer(); else sp = tsk->thread.ksp; } |