diff options
Diffstat (limited to 'arch/x86/include/asm/processor.h')
| -rw-r--r-- | arch/x86/include/asm/processor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 0d1171c97729..b650435ffb53 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h | |||
| @@ -111,6 +111,7 @@ struct cpuinfo_x86 { | |||
| 111 | /* Index into per_cpu list: */ | 111 | /* Index into per_cpu list: */ |
| 112 | u16 cpu_index; | 112 | u16 cpu_index; |
| 113 | #endif | 113 | #endif |
| 114 | u32 microcode; | ||
| 114 | } __attribute__((__aligned__(SMP_CACHE_BYTES))); | 115 | } __attribute__((__aligned__(SMP_CACHE_BYTES))); |
| 115 | 116 | ||
| 116 | #define X86_VENDOR_INTEL 0 | 117 | #define X86_VENDOR_INTEL 0 |
| @@ -179,7 +180,8 @@ static inline void native_cpuid(unsigned int *eax, unsigned int *ebx, | |||
| 179 | "=b" (*ebx), | 180 | "=b" (*ebx), |
| 180 | "=c" (*ecx), | 181 | "=c" (*ecx), |
| 181 | "=d" (*edx) | 182 | "=d" (*edx) |
| 182 | : "0" (*eax), "2" (*ecx)); | 183 | : "0" (*eax), "2" (*ecx) |
| 184 | : "memory"); | ||
| 183 | } | 185 | } |
| 184 | 186 | ||
| 185 | static inline void load_cr3(pgd_t *pgdir) | 187 | static inline void load_cr3(pgd_t *pgdir) |
