Krzysztof Mazur 015221fefb x86: Fix 32-bit *_cpu_data initializers
The commit 27be457000211a6903968dfce06d5f73f051a217
('x86 idle: remove 32-bit-only "no-hlt" parameter, hlt_works_ok
flag') removed the hlt_works_ok flag from struct cpuinfo_x86, but
boot_cpu_data and new_cpu_data initializers were not changed
causing setting f00f_bug flag, instead of fdiv_bug.

If CONFIG_X86_F00F_BUG is not set the f00f_bug flag is never
cleared.

To avoid such problems in future C99-style initialization is now
used.

Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net>
Acked-by: Borislav Petkov <bp@suse.de>
Cc: len.brown@intel.com
Link: http://lkml.kernel.org/r/1362266082-2227-1-git-send-email-krzysiek@podlesie.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2013-03-06 20:15:50 -08:00
..
2012-06-06 11:58:38 +02:00
2013-02-22 23:31:31 -05:00
2011-07-01 10:37:14 +02:00
2012-08-22 09:34:24 +02:00
2012-05-08 14:08:44 +02:00
2012-03-28 18:11:12 +01:00
2013-02-27 16:59:05 -05:00
2013-02-28 08:50:11 +02:00
2013-02-14 09:21:17 -05:00
2012-05-14 11:49:38 +02:00
2013-03-05 15:26:45 -08:00
2013-01-24 16:22:10 +01:00
2012-03-28 18:11:12 +01:00
2012-11-14 15:28:11 -08:00