aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-09-29 20:17:50 +0000
committerlloyd <[email protected]>2009-09-29 20:17:50 +0000
commit92fa61dd9909f39bacd8f2f64ae1d11c9fd1fb49 (patch)
treef36a4739ac5115c8a851698a038de855cc2f6bf7
parent25fad1ac3bab1c8ed04673b223946e2510c93da9 (diff)
Add vendor ID for AMD
-rw-r--r--src/utils/cpuid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/cpuid.cpp b/src/utils/cpuid.cpp
index 6326e84ad..eb50dee98 100644
--- a/src/utils/cpuid.cpp
+++ b/src/utils/cpuid.cpp
@@ -47,7 +47,7 @@ void x86_cpuid(u32bit type, u32bit out[4])
u32bit get_x86_cache_line_size()
{
const u32bit INTEL_CPUID[3] = { 0x756E6547, 0x6C65746E, 0x49656E69 };
- const u32bit AMD_CPUID[3] = { 0, 0, 0 };
+ const u32bit AMD_CPUID[3] = { 0x68747541, 0x444D4163, 0x69746E65 };
u32bit cpuid[4] = { 0 };
x86_cpuid(0, cpuid);