diff options
author | Krzysztof Mazur <krzysiek@podlesie.net> | 2013-03-03 00:14:42 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2013-03-06 20:15:50 -0800 |
commit | 015221fefbc93689dd47508a66326556adf2abcd (patch) | |
tree | 9ad7c56a7a2b900685807a6ec799b91064aa8bcd /kernel/audit_watch.c | |
parent | 4ecccd9edd5eb4dd185486e6e593c671484691bc (diff) | |
download | linux-015221fefbc93689dd47508a66326556adf2abcd.tar.gz linux-015221fefbc93689dd47508a66326556adf2abcd.tar.bz2 linux-015221fefbc93689dd47508a66326556adf2abcd.zip |
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>
Diffstat (limited to 'kernel/audit_watch.c')
0 files changed, 0 insertions, 0 deletions