From 5fce15a2a3cd94427bb9979d73acf14013ec7f31 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 14 Nov 2014 12:55:23 -0500 Subject: [dev.cc] runtime: fix lfstack for amd64 addresses in top half of addr space While we are here, add the linux/power64 version. LGTM=austin R=austin CC=aram, dvyukov, golang-codereviews https://golang.org/cl/177750043 --- src/runtime/lfstack.go | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'src/runtime/lfstack.go') diff --git a/src/runtime/lfstack.go b/src/runtime/lfstack.go index c5dc94f073..4a20fff9d8 100644 --- a/src/runtime/lfstack.go +++ b/src/runtime/lfstack.go @@ -9,23 +9,12 @@ package runtime import "unsafe" -const ( - // lfPtrBits and lfCountMask are defined in lfstack_*.go. - lfPtrMask = 1<