driver: use syscall number from golang.org/x/sys/unix

Use unix.SYS_SCHED_SETAFFINITY instead of duplicating the syscall number
locally. This also adds support (in principle) for mips, mipsle, ppc64le
and sparc64.

Change-Id: I873c7df4c3d0590fd80e4ecc05410d0023252894
Reviewed-on: https://go-review.googlesource.com/77471
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
1 file changed