aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_linux_arm.go
diff options
context:
space:
mode:
authoraimuz <mr.imuz@gmail.com>2025-09-03 14:15:06 +0000
committerGopher Robot <gobot@golang.org>2025-09-04 07:30:42 -0700
commitb7c20413c5b78b7dfc7f7de52f333a8ca85cd55b (patch)
treecdae9c127ee69cda79b5675f543a2ddc0f2abab7 /src/runtime/os_linux_arm.go
parentdf290384864c0b3cbb557ef11fc95a29d52f6aca (diff)
downloadgo-b7c20413c5b78b7dfc7f7de52f333a8ca85cd55b.tar.xz
runtime: remove obsolete osArchInit function
The osArchInit function was introduced as a workaround for a Linux kernel bug that corrupted vector registers on x86 CPUs during signal delivery. The bug was introduced in Linux 5.2 and fixed in 5.3.15, 5.4.2, and all 5.5 and later kernels. The fix was also back-ported by major distros. Change-Id: I59990a7df104843955301c5cb8a547614eba145b GitHub-Last-Rev: 8425af458bfaad0d64d21ff3f3e0049d186f44ed GitHub-Pull-Request: golang/go#75246 Reviewed-on: https://go-review.googlesource.com/c/go/+/700555 Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/runtime/os_linux_arm.go')
-rw-r--r--src/runtime/os_linux_arm.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/os_linux_arm.go b/src/runtime/os_linux_arm.go
index 5e1274ebab..46b2dc467c 100644
--- a/src/runtime/os_linux_arm.go
+++ b/src/runtime/os_linux_arm.go
@@ -48,8 +48,6 @@ func archauxv(tag, val uintptr) {
}
}
-func osArchInit() {}
-
//go:nosplit
func cputicks() int64 {
// nanotime() is a poor approximation of CPU ticks that is enough for the profiler.