ppc64: remove unnecessary parentheses

pull/11/head
Bobby Bingham 2019-04-05 14:09:39 -05:00
parent 40d07758a5
commit edf69879ea
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ __makecontext(ucontext_t *ucp, void (*func)(), int argc, ...)
sp = (greg_t *) ((uintptr_t) ucp->uc_stack.ss_sp + ucp->uc_stack.ss_size); sp = (greg_t *) ((uintptr_t) ucp->uc_stack.ss_sp + ucp->uc_stack.ss_size);
sp -= stack_args + 4; sp -= stack_args + 4;
sp = (greg_t *) (((uintptr_t) sp & -16L)); sp = (greg_t *) ((uintptr_t) sp & -16L);
ucp->uc_mcontext.gp_regs[REG_NIP] = (uintptr_t) func; ucp->uc_mcontext.gp_regs[REG_NIP] = (uintptr_t) func;
ucp->uc_mcontext.gp_regs[REG_LNK] = (uintptr_t) &__start_context; ucp->uc_mcontext.gp_regs[REG_LNK] = (uintptr_t) &__start_context;