To make the code cleaner executeX86CpuID() is always defined,
but we should make sure to always return a result code even
on non-x86 (even though it will never be called there).
Change-Id: Ic302945c7794576aa931250a513120c72be62d21
# else
- // No compiler support for cpuid if we get here
+ // We are on x86, but without compiler support for cpuid if we get here
*eax = 0;
*ebx = 0;
*ecx = 0;
*edx = 0;
return 1;
-# endif // gcc inline asm, msvc, or no cpuid support
-#endif // x86
+# endif // check for inline asm on x86
+
+#else
+
+ // We are not on x86
+ *eax = 0;
+ *ebx = 0;
+ *ecx = 0;
+ *edx = 0;
+ return 1;
+
+#endif // x86
}