diff options
| author | Austin Clements <austin@google.com> | 2019-12-02 17:32:01 -0500 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2019-12-05 01:48:12 +0000 |
| commit | fa3a121a79f85a4c957f29372b5ebfde7211a980 (patch) | |
| tree | 499bc58b5e809186bd76d63b072dc7cabab1493a /src/runtime/export_test.go | |
| parent | 709dbd28708eab97993ca06adea74be392c05c1c (diff) | |
| download | go-fa3a121a79f85a4c957f29372b5ebfde7211a980.tar.xz | |
runtime: add a simple version number parser
This will be used to parse the Linux kernel versions, but this code is
generic and can be tested on its own.
For #35777.
Change-Id: If1df48d07250e5855dde45bc9d57c66f777b9fb4
Reviewed-on: https://go-review.googlesource.com/c/go/+/209597
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/export_test.go')
| -rw-r--r-- | src/runtime/export_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/export_test.go b/src/runtime/export_test.go index 75882d02b6..5206fa0109 100644 --- a/src/runtime/export_test.go +++ b/src/runtime/export_test.go @@ -43,6 +43,8 @@ var PhysHugePageSize = physHugePageSize var NetpollGenericInit = netpollGenericInit +var ParseRelease = parseRelease + const PreemptMSupported = preemptMSupported type LFNode struct { |
