X-Git-Url: https://bbs.cooldavid.org/git/?a=blobdiff_plain;f=arch%2Fx86%2Finclude%2Fasm%2Fprocessor.h;h=091cd8855f2e61707747d07c94286399619852e9;hb=b0f4b285d7ed174804658539129a834270f4829a;hp=aa5914f8e501c0af6e0568f4704571f85322b440;hpb=5250d329e38cdf7580faeb9c53c17d3588d7d19c;p=net-next-2.6.git diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index aa5914f8e50..091cd8855f2 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -110,6 +110,7 @@ struct cpuinfo_x86 { /* Index into per_cpu list: */ u16 cpu_index; #endif + unsigned int x86_hyper_vendor; } __attribute__((__aligned__(SMP_CACHE_BYTES))); #define X86_VENDOR_INTEL 0 @@ -123,6 +124,9 @@ struct cpuinfo_x86 { #define X86_VENDOR_UNKNOWN 0xff +#define X86_HYPER_VENDOR_NONE 0 +#define X86_HYPER_VENDOR_VMWARE 1 + /* * capabilities of CPUs */