libgo: Solaris and x/sys/cpu compatibility fixes

Restore Solaris compatibility fixes lost when internal/x/net/lif moved
to  Also fix the Makefile for x/net/lif and

Change x/sys/cpu to get the cache line size from as the
gofrontend version of internal/cpu does.

Partially based on work by Rainer Orth.

Change-Id: Ic4df65b1b2c7823a53b5d6e7285666c22c42132a
Reviewed-by: Than McIntosh <>
Reviewed-by: Cherry Zhang <>
15 files changed