diff options
author | Borislav Petkov <bp@suse.de> | 2013-03-20 10:07:25 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2013-04-02 13:12:53 -0400 |
commit | 93a829e8e2c292f1d30155f64803101ca1cb7d3d (patch) | |
tree | 14543e11fa52235976ed9cda780e65d294bfd1af /arch/x86/kernel/setup.c | |
parent | e2604b49e8a8827e8bc5b61bc0c5a889e028fdad (diff) |
x86, cpu: Convert FDIV bug detection
... to the new facility. Add a reference to the wikipedia article
explaining the FDIV test we're doing here.
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1363788448-31325-4-git-send-email-bp@alien8.de
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r-- | arch/x86/kernel/setup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 90d8cc930f5e..29258c75a2f3 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -173,12 +173,10 @@ static struct resource bss_resource = { | |||
173 | /* cpu data as detected by the assembly code in head.S */ | 173 | /* cpu data as detected by the assembly code in head.S */ |
174 | struct cpuinfo_x86 new_cpu_data __cpuinitdata = { | 174 | struct cpuinfo_x86 new_cpu_data __cpuinitdata = { |
175 | .wp_works_ok = -1, | 175 | .wp_works_ok = -1, |
176 | .fdiv_bug = -1, | ||
177 | }; | 176 | }; |
178 | /* common cpu data for all cpus */ | 177 | /* common cpu data for all cpus */ |
179 | struct cpuinfo_x86 boot_cpu_data __read_mostly = { | 178 | struct cpuinfo_x86 boot_cpu_data __read_mostly = { |
180 | .wp_works_ok = -1, | 179 | .wp_works_ok = -1, |
181 | .fdiv_bug = -1, | ||
182 | }; | 180 | }; |
183 | EXPORT_SYMBOL(boot_cpu_data); | 181 | EXPORT_SYMBOL(boot_cpu_data); |
184 | 182 | ||