vendor: downgrade sys unix

containerd and moby packages do not build in darwin anymore

6fcdbc0bbc

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2020-09-13 22:17:18 -07:00
parent 2d720a1e0b
commit 3c94621142
79 changed files with 7550 additions and 3969 deletions

View File

@ -6,6 +6,8 @@
package cpu
const cacheLineSize = 128
const (
// getsystemcfg constants
_SC_IMPL = 2
@ -13,7 +15,7 @@ const (
_IMPL_POWER9 = 0x20000
)
func archInit() {
func init() {
impl := getsystemcfg(_SC_IMPL)
if impl&_IMPL_POWER8 != 0 {
PPC64.IsPOWER8 = true