aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_linux_arm.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2016-06-28 09:22:46 -0700
committerJosh Bleecher Snyder <josharian@gmail.com>2016-08-30 23:59:21 +0000
commit2b74de3ed91c495d63868acef0471b0286e7b432 (patch)
tree89478aa9441c37a24a5ca15c9750eefbff80bbfe /src/runtime/os_linux_arm.go
parentf9dafc742d7c0e892b6e4ff17cb9ec7165887e44 (diff)
downloadgo-2b74de3ed91c495d63868acef0471b0286e7b432.tar.gz
go-2b74de3ed91c495d63868acef0471b0286e7b432.zip
runtime: rename fastrand1 to fastrand
Change-Id: I37706ff0a3486827c5b072c95ad890ea87ede847 Reviewed-on: https://go-review.googlesource.com/28210 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/os_linux_arm.go')
-rw-r--r--src/runtime/os_linux_arm.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/os_linux_arm.go b/src/runtime/os_linux_arm.go
index 8e2765a413..d7d734bc7f 100644
--- a/src/runtime/os_linux_arm.go
+++ b/src/runtime/os_linux_arm.go
@@ -53,8 +53,8 @@ func archauxv(tag, val uintptr) {
//go:nosplit
func cputicks() int64 {
- // Currently cputicks() is used in blocking profiler and to seed fastrand1().
+ // Currently cputicks() is used in blocking profiler and to seed fastrand().
// nanotime() is a poor approximation of CPU ticks that is enough for the profiler.
- // randomNumber provides better seeding of fastrand1.
+ // randomNumber provides better seeding of fastrand.
return nanotime() + int64(randomNumber)
}