Files
sys/cpu
Tobias Klauser 92a0ff1e1e cpu: don't panic on error reading /proc/self/auxv
On Android /proc/self/auxv is not readable, leading to a panic in init.
Instead of panic'ing in this case, introduce the Initialized global bool
to report whether the CPU features were initialized i.e. /proc/self/auxv
was successfullly read.

Fixes golang/go#30413

Change-Id: Ib520f202990614a76bceb0bf9d19a88eadd13e10
Reviewed-on: https://go-review.googlesource.com/c/164057
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-02-28 07:16:10 +00:00
..
2018-12-06 07:42:57 +00:00
2018-06-06 20:27:47 +00:00
2018-06-06 16:53:29 +00:00
2018-06-06 16:53:29 +00:00
2018-12-06 07:42:57 +00:00
2018-12-06 07:42:57 +00:00
2018-12-06 07:42:57 +00:00
2018-06-06 16:53:29 +00:00