From a9ca0a9d025cdd0e046b8e0b89fd2f2e3721e203 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 9 Sep 2016 14:00:43 +0000 Subject: runtime: remove remaining use of MAKECONTEXT_STACK_TOP macro The definition and most uses of MAKECONTEXT_STACK_TOP were removed in https://golang.org/cl/88660043, which removed support for Solaris 8/9. One use of MAKECONTEXT_STACK_TOP was accidentally left in the source code. Remove it now. Reviewed-on: https://go-review.googlesource.com/28911 From-SVN: r240045 --- libgo/runtime/proc.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libgo') diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c index 59dfc09..7e2b172 100644 --- a/libgo/runtime/proc.c +++ b/libgo/runtime/proc.c @@ -2396,9 +2396,6 @@ __go_go(void (*fn)(void*), void* arg) uc = ucontext_arg(&vnewg->context[0]); getcontext(uc); uc->uc_stack.ss_sp = vsp; -#ifdef MAKECONTEXT_STACK_TOP - uc->uc_stack.ss_sp += vspsize; -#endif uc->uc_stack.ss_size = vspsize; makecontext(uc, kickoff, 0); -- cgit v1.1