processor.h (6e9041c6ddd6cbdc61d87bcaca8ca7bb17c28377) processor.h (60e019eb37a8d989031ad47ae9810453536f3127)
1#ifndef _ASM_X86_PROCESSOR_H
2#define _ASM_X86_PROCESSOR_H
3
4#include <asm/processor-flags.h>
5
6/* Forward declaration, a strange C thing */
7struct task_struct;
8struct mm_struct;

--- 75 unchanged lines hidden (view full) ---

84 __u8 x86; /* CPU family */
85 __u8 x86_vendor; /* CPU vendor */
86 __u8 x86_model;
87 __u8 x86_mask;
88#ifdef CONFIG_X86_32
89 char wp_works_ok; /* It doesn't on 386's */
90
91 /* Problems on some 486Dx4's and old 386's: */
1#ifndef _ASM_X86_PROCESSOR_H
2#define _ASM_X86_PROCESSOR_H
3
4#include <asm/processor-flags.h>
5
6/* Forward declaration, a strange C thing */
7struct task_struct;
8struct mm_struct;

--- 75 unchanged lines hidden (view full) ---

84 __u8 x86; /* CPU family */
85 __u8 x86_vendor; /* CPU vendor */
86 __u8 x86_model;
87 __u8 x86_mask;
88#ifdef CONFIG_X86_32
89 char wp_works_ok; /* It doesn't on 386's */
90
91 /* Problems on some 486Dx4's and old 386's: */
92 char hard_math;
93 char rfu;
94 char pad0;
92 char rfu;
93 char pad0;
94 char pad1;
95#else
96 /* Number of 4K pages in DTLB/ITLB combined(in pages): */
97 int x86_tlbsize;
98#endif
99 __u8 x86_virt_bits;
100 __u8 x86_phys_bits;
101 /* CPUID returned core id bits: */
102 __u8 x86_coreid_bits;

--- 56 unchanged lines hidden (view full) ---

159#define cpu_data(cpu) boot_cpu_data
160#endif
161
162extern const struct seq_operations cpuinfo_op;
163
164#define cache_line_size() (boot_cpu_data.x86_cache_alignment)
165
166extern void cpu_detect(struct cpuinfo_x86 *c);
95#else
96 /* Number of 4K pages in DTLB/ITLB combined(in pages): */
97 int x86_tlbsize;
98#endif
99 __u8 x86_virt_bits;
100 __u8 x86_phys_bits;
101 /* CPUID returned core id bits: */
102 __u8 x86_coreid_bits;

--- 56 unchanged lines hidden (view full) ---

159#define cpu_data(cpu) boot_cpu_data
160#endif
161
162extern const struct seq_operations cpuinfo_op;
163
164#define cache_line_size() (boot_cpu_data.x86_cache_alignment)
165
166extern void cpu_detect(struct cpuinfo_x86 *c);
167extern void __cpuinit fpu_detect(struct cpuinfo_x86 *c);
167
168extern void early_cpu_init(void);
169extern void identify_boot_cpu(void);
170extern void identify_secondary_cpu(struct cpuinfo_x86 *);
171extern void print_cpu_info(struct cpuinfo_x86 *);
172void print_cpu_msr(struct cpuinfo_x86 *);
173extern void init_scattered_cpuid_features(struct cpuinfo_x86 *c);
174extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c);

--- 811 unchanged lines hidden ---
168
169extern void early_cpu_init(void);
170extern void identify_boot_cpu(void);
171extern void identify_secondary_cpu(struct cpuinfo_x86 *);
172extern void print_cpu_info(struct cpuinfo_x86 *);
173void print_cpu_msr(struct cpuinfo_x86 *);
174extern void init_scattered_cpuid_features(struct cpuinfo_x86 *c);
175extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c);

--- 811 unchanged lines hidden ---