Fixed gmx_cpuid not working on non-x86
authorErik Lindahl <erik@kth.se>
Thu, 20 Dec 2012 14:41:19 +0000 (15:41 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 21 Dec 2012 13:18:57 +0000 (14:18 +0100)
commitd24f81b3fb765520534f8d83ea070a2f4835368e
treea35d801adf0f5ce1351ee02fdd3042e0e0dc99ae
parent5721534c02c6fe579c1d9f5b9c1b07ad1eb14694
Fixed gmx_cpuid not working on non-x86

Added x86-specific #ifdefs around calls to x86-specific routines.
The cpuid calls should now correctly return 'unknown' for everything
on other platforms. Fixes #1075.

Change-Id: Id0dfcb2fd944ea37b176efb9978ccedfc00e06e9
src/gmxlib/gmx_cpuid.c