diff options
Diffstat (limited to 'include/asm-mips/cpu-info.h')
-rw-r--r-- | include/asm-mips/cpu-info.h | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/include/asm-mips/cpu-info.h b/include/asm-mips/cpu-info.h index 22fe8453fcc7..94f1c8172360 100644 --- a/include/asm-mips/cpu-info.h +++ b/include/asm-mips/cpu-info.h | |||
@@ -14,10 +14,6 @@ | |||
14 | 14 | ||
15 | #include <asm/cache.h> | 15 | #include <asm/cache.h> |
16 | 16 | ||
17 | #ifdef CONFIG_SGI_IP27 | ||
18 | #include <asm/sn/types.h> | ||
19 | #endif | ||
20 | |||
21 | /* | 17 | /* |
22 | * Descriptor for a cache | 18 | * Descriptor for a cache |
23 | */ | 19 | */ |
@@ -43,20 +39,6 @@ struct cache_desc { | |||
43 | struct cpuinfo_mips { | 39 | struct cpuinfo_mips { |
44 | unsigned long udelay_val; | 40 | unsigned long udelay_val; |
45 | unsigned long asid_cache; | 41 | unsigned long asid_cache; |
46 | #if defined(CONFIG_SGI_IP27) | ||
47 | // cpuid_t p_cpuid; /* PROM assigned cpuid */ | ||
48 | cnodeid_t p_nodeid; /* my node ID in compact-id-space */ | ||
49 | nasid_t p_nasid; /* my node ID in numa-as-id-space */ | ||
50 | unsigned char p_slice; /* Physical position on node board */ | ||
51 | #endif | ||
52 | #if 0 | ||
53 | unsigned long loops_per_sec; | ||
54 | unsigned long ipi_count; | ||
55 | unsigned long irq_attempt[NR_IRQS]; | ||
56 | unsigned long smp_local_irq_count; | ||
57 | unsigned long prof_multiplier; | ||
58 | unsigned long prof_counter; | ||
59 | #endif | ||
60 | 42 | ||
61 | /* | 43 | /* |
62 | * Capability and feature descriptor structure for MIPS CPU | 44 | * Capability and feature descriptor structure for MIPS CPU |
@@ -92,4 +74,7 @@ extern struct cpuinfo_mips cpu_data[]; | |||
92 | extern void cpu_probe(void); | 74 | extern void cpu_probe(void); |
93 | extern void cpu_report(void); | 75 | extern void cpu_report(void); |
94 | 76 | ||
77 | extern const char *__cpu_name[]; | ||
78 | #define cpu_name_string() __cpu_name[smp_processor_id()] | ||
79 | |||
95 | #endif /* __ASM_CPU_INFO_H */ | 80 | #endif /* __ASM_CPU_INFO_H */ |