golang.org/x/sys/cpu: define doinit when needed
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 11 Sep 2019 14:06:05 +0000 (14:06 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 11 Sep 2019 14:06:05 +0000 (14:06 +0000)
commitdebae5232b81f4f0adcdc25ad8c8d2645a6ea376
tree752ae3fddd037e55ad820027b57ee20d3a346a20
parentd694576e174d95b7f6066d924715691c55824f30
golang.org/x/sys/cpu: define doinit when needed

    Should fix the build on riscv64 and other systems.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194641

From-SVN: r275650
gcc/go/gofrontend/MERGE
libgo/go/golang.org/x/sys/cpu/cpu_linux_other.go [new file with mode: 0644]