diff options
Diffstat (limited to 'include/asm-x86_64/processor.h')
-rw-r--r-- | include/asm-x86_64/processor.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/include/asm-x86_64/processor.h b/include/asm-x86_64/processor.h index 461ffe4c1fcc..19525175b91c 100644 --- a/include/asm-x86_64/processor.h +++ b/include/asm-x86_64/processor.h | |||
@@ -83,7 +83,6 @@ struct cpuinfo_x86 { | |||
83 | #define X86_VENDOR_UMC 3 | 83 | #define X86_VENDOR_UMC 3 |
84 | #define X86_VENDOR_NEXGEN 4 | 84 | #define X86_VENDOR_NEXGEN 4 |
85 | #define X86_VENDOR_CENTAUR 5 | 85 | #define X86_VENDOR_CENTAUR 5 |
86 | #define X86_VENDOR_RISE 6 | ||
87 | #define X86_VENDOR_TRANSMETA 7 | 86 | #define X86_VENDOR_TRANSMETA 7 |
88 | #define X86_VENDOR_NUM 8 | 87 | #define X86_VENDOR_NUM 8 |
89 | #define X86_VENDOR_UNKNOWN 0xff | 88 | #define X86_VENDOR_UNKNOWN 0xff |
@@ -100,6 +99,7 @@ extern char ignore_irq13; | |||
100 | 99 | ||
101 | extern void identify_cpu(struct cpuinfo_x86 *); | 100 | extern void identify_cpu(struct cpuinfo_x86 *); |
102 | extern void print_cpu_info(struct cpuinfo_x86 *); | 101 | extern void print_cpu_info(struct cpuinfo_x86 *); |
102 | extern void init_scattered_cpuid_features(struct cpuinfo_x86 *c); | ||
103 | extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c); | 103 | extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c); |
104 | extern unsigned short num_cache_leaves; | 104 | extern unsigned short num_cache_leaves; |
105 | 105 | ||
@@ -368,8 +368,6 @@ static inline void sync_core(void) | |||
368 | asm volatile("cpuid" : "=a" (tmp) : "0" (1) : "ebx","ecx","edx","memory"); | 368 | asm volatile("cpuid" : "=a" (tmp) : "0" (1) : "ebx","ecx","edx","memory"); |
369 | } | 369 | } |
370 | 370 | ||
371 | #define cpu_has_fpu 1 | ||
372 | |||
373 | #define ARCH_HAS_PREFETCH | 371 | #define ARCH_HAS_PREFETCH |
374 | static inline void prefetch(void *x) | 372 | static inline void prefetch(void *x) |
375 | { | 373 | { |
@@ -391,17 +389,6 @@ static inline void prefetchw(void *x) | |||
391 | 389 | ||
392 | #define cpu_relax() rep_nop() | 390 | #define cpu_relax() rep_nop() |
393 | 391 | ||
394 | /* | ||
395 | * NSC/Cyrix CPU indexed register access macros | ||
396 | */ | ||
397 | |||
398 | #define getCx86(reg) ({ outb((reg), 0x22); inb(0x23); }) | ||
399 | |||
400 | #define setCx86(reg, data) do { \ | ||
401 | outb((reg), 0x22); \ | ||
402 | outb((data), 0x23); \ | ||
403 | } while (0) | ||
404 | |||
405 | static inline void serialize_cpu(void) | 392 | static inline void serialize_cpu(void) |
406 | { | 393 | { |
407 | __asm__ __volatile__ ("cpuid" : : : "ax", "bx", "cx", "dx"); | 394 | __asm__ __volatile__ ("cpuid" : : : "ax", "bx", "cx", "dx"); |