commit | c3b83598c1eeb1507603b461f5843ec2a49e3033 | [log] [tgz] |
---|---|---|
author | Borislav Petkov <bp@suse.de> | Sun Jun 09 12:07:30 2013 +0200 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Thu Jun 20 17:06:07 2013 -0700 |
tree | 4884fa44c454afdd8b85fd87fb153cea5a5036b2 | |
parent | 60e019eb37a8d989031ad47ae9810453536f3127 [diff] [blame] |
x86, cpu: Add a synthetic, always true, cpu feature This will be used in alternatives later as an always-replace flag. Signed-off-by: Borislav Petkov <bp@suse.de> Link: http://lkml.kernel.org/r/1370772454-6106-2-git-send-email-bp@alien8.de Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index d4dd993..d388ce1 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c
@@ -723,6 +723,8 @@ if (this_cpu->c_bsp_init) this_cpu->c_bsp_init(c); + + setup_force_cpu_cap(X86_FEATURE_ALWAYS); } void __init early_cpu_init(void)