x86: Add a static_cpu_has_safe variant
authorBorislav Petkov <bp@suse.de>
Sun, 9 Jun 2013 10:07:33 +0000 (12:07 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 21 Jun 2013 00:38:14 +0000 (17:38 -0700)
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>

No differences found