]> Pileus Git - ~andy/linux/blobdiff - include/asm-i386/processor.h
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
[~andy/linux] / include / asm-i386 / processor.h
index 0a4ec764377ca1aa0db8c607a35e9ddfd586d297..5c96cf6dcb3916f5735cdf6005b2ac7b3755cd4d 100644 (file)
@@ -65,7 +65,9 @@ struct cpuinfo_x86 {
        int     f00f_bug;
        int     coma_bug;
        unsigned long loops_per_jiffy;
-       unsigned char x86_num_cores;
+       unsigned char x86_max_cores;    /* cpuid returned max cores value */
+       unsigned char booted_cores;     /* number of cores as seen by OS */
+       unsigned char apicid;
 } __attribute__((__aligned__(SMP_CACHE_BYTES)));
 
 #define X86_VENDOR_INTEL 0
@@ -718,4 +720,10 @@ extern void mtrr_bp_init(void);
 #define mtrr_bp_init() do {} while (0)
 #endif
 
+#ifdef CONFIG_X86_MCE
+extern void mcheck_init(struct cpuinfo_x86 *c);
+#else
+#define mcheck_init(c) do {} while(0)
+#endif
+
 #endif /* __ASM_I386_PROCESSOR_H */