diff options
Diffstat (limited to 'include/asm-i386/processor.h')
| -rw-r--r-- | include/asm-i386/processor.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h index 55ea992da329..b32346d62e10 100644 --- a/include/asm-i386/processor.h +++ b/include/asm-i386/processor.h | |||
| @@ -71,8 +71,12 @@ struct cpuinfo_x86 { | |||
| 71 | cpumask_t llc_shared_map; /* cpus sharing the last level cache */ | 71 | cpumask_t llc_shared_map; /* cpus sharing the last level cache */ |
| 72 | #endif | 72 | #endif |
| 73 | unsigned char x86_max_cores; /* cpuid returned max cores value */ | 73 | unsigned char x86_max_cores; /* cpuid returned max cores value */ |
| 74 | unsigned char booted_cores; /* number of cores as seen by OS */ | ||
| 75 | unsigned char apicid; | 74 | unsigned char apicid; |
| 75 | #ifdef CONFIG_SMP | ||
| 76 | unsigned char booted_cores; /* number of cores as seen by OS */ | ||
| 77 | __u8 phys_proc_id; /* Physical processor id. */ | ||
| 78 | __u8 cpu_core_id; /* Core id */ | ||
| 79 | #endif | ||
| 76 | } __attribute__((__aligned__(SMP_CACHE_BYTES))); | 80 | } __attribute__((__aligned__(SMP_CACHE_BYTES))); |
| 77 | 81 | ||
| 78 | #define X86_VENDOR_INTEL 0 | 82 | #define X86_VENDOR_INTEL 0 |
| @@ -104,8 +108,6 @@ extern struct cpuinfo_x86 cpu_data[]; | |||
| 104 | #define current_cpu_data boot_cpu_data | 108 | #define current_cpu_data boot_cpu_data |
| 105 | #endif | 109 | #endif |
| 106 | 110 | ||
| 107 | extern int phys_proc_id[NR_CPUS]; | ||
| 108 | extern int cpu_core_id[NR_CPUS]; | ||
| 109 | extern int cpu_llc_id[NR_CPUS]; | 111 | extern int cpu_llc_id[NR_CPUS]; |
| 110 | extern char ignore_fpu_irq; | 112 | extern char ignore_fpu_irq; |
| 111 | 113 | ||
