proc_cpuinfo: Add sanity check for number of sockets

A misconfigured system appeared to have a huge number of sockets. The
code here did not handle this gracefully as the bitmask of sockets is
only 64-bits wide, so the extra sockets were not counted.

It doesn't seem worth changiing the code to support more sockets as such
systems do not exist.

Just check, warn, and exit if a socket > 63 is found.

Signed-off-by: Tony Luck <tony.luck@intel.com>
1 file changed