mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
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>
This commit is contained in:
parent
bfe9a2cfe9
commit
acf620ecf5
7 changed files with 7 additions and 7 deletions
|
@ -50,7 +50,7 @@ void save_stack_trace(struct stack_trace *trace)
|
|||
{
|
||||
unsigned long sp;
|
||||
|
||||
sp = __get_SP();
|
||||
sp = current_stack_pointer();
|
||||
|
||||
save_context_stack(trace, sp, current, 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue