commit | 4a90a99c4f8002edaa6be11bd756872ebf3f3d97 | [log] [tgz] |
---|---|---|
author | Borislav Petkov <bp@suse.de> | Sun Jun 09 12:07:33 2013 +0200 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Thu Jun 20 17:38:14 2013 -0700 |
tree | 1cd36003313ca46b1d725d508d5918cf6aaac254 | |
parent | 5700f743b597951743da9c7d891d3989aac0486e [diff] |
x86: Add a static_cpu_has_safe variant We want to use this in early code where alternatives might not have run yet and for that case we fall back to the dynamic boot_cpu_has. For that, force a 5-byte jump since the compiler could be generating differently sized jumps for each label. Signed-off-by: Borislav Petkov <bp@suse.de> Link: http://lkml.kernel.org/r/1370772454-6106-5-git-send-email-bp@alien8.de Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>