Commit bcb05504 authored by David Woodhouse's avatar David Woodhouse Committed by Paul Mackerras

[PATCH] ppc64 syscall_exit_work: call the save_nvgprs function, not its descriptor.

On Tue, 2005-11-15 at 18:52 +0000, David Woodhouse wrote:
> This cleanup patch speeds up the null syscall path on ppc64 by about 3%,
> and brings the ppc32 and ppc64 code slightly closer together.

Needs this unless your binutils, like mine, are clever enough to notice
my stupidity and fix it up automatically...

Spotted by Paul.
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent c1189c92
...@@ -241,7 +241,7 @@ syscall_exit_work: ...@@ -241,7 +241,7 @@ syscall_exit_work:
bne- 3b bne- 3b
subi r12,r12,TI_FLAGS subi r12,r12,TI_FLAGS
4: bl save_nvgprs 4: bl .save_nvgprs
/* Anything else left to do? */ /* Anything else left to do? */
andi. r0,r9,(_TIF_SYSCALL_T_OR_A|_TIF_SINGLESTEP|_TIF_SAVE_NVGPRS) andi. r0,r9,(_TIF_SYSCALL_T_OR_A|_TIF_SINGLESTEP|_TIF_SAVE_NVGPRS)
beq .ret_from_except_lite beq .ret_from_except_lite
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment