From f370b25ffcc1e76fa00b76c6c9ec150d8e89aebd Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Thu, 15 Feb 2018 04:36:47 +0000 Subject: [PATCH] ppc64: trampoline: cleanups --- arch/ppc64/startcontext.S | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/ppc64/startcontext.S b/arch/ppc64/startcontext.S index d8b8b13..de2fff3 100644 --- a/arch/ppc64/startcontext.S +++ b/arch/ppc64/startcontext.S @@ -13,19 +13,19 @@ .globl __start_context; .hidden __start_context; __start_context: - cmpdi 31,0 /* test if ucontext link pointer is null */ - beq do_exit /* if it is, exit */ + cmpdi 31,0 /* test if ucontext link pointer is null */ + beq no_linked_context /* if it is, exit */ /* now, call SYS_swapcontext */ - mr 4,31 /* ucp is in r31 */ - li 3,0 /* don't care about restoring, set oucp to NULL */ - li 5,1696 /* sizeof(ucontext_t) */ - li 0,249 /* SYS_swapcontext */ + mr 4,31 /* ucp is in r31 */ + li 3,0 /* don't care about restoring, set oucp to NULL */ + li 5,1696 /* sizeof(ucontext_t) */ + li 0,249 /* SYS_swapcontext */ sc /* 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