ppc64: trampoline: cleanups

master
William Pitcock 2018-02-15 04:36:47 +00:00
parent f4d92bb7bd
commit f370b25ffc
1 changed files with 7 additions and 7 deletions

View File

@ -14,7 +14,7 @@
.hidden __start_context;
__start_context:
cmpdi 31,0 /* test if ucontext link pointer is null */
beq do_exit /* if it is, exit */
beq no_linked_context /* if it is, exit */
/* now, call SYS_swapcontext */
mr 4,31 /* ucp is in r31 */
@ -26,6 +26,6 @@ __start_context:
/* we should not wind back up here, if we do, exit with -1 */
li 3,-1
do_exit:
no_linked_context:
b exit@GOT
nop