diff options
| author | Borislav Petkov <[email protected]> | 2013-06-09 10:07:33 +0000 |
|---|---|---|
| committer | H. Peter Anvin <[email protected]> | 2013-06-21 00:38:14 +0000 |
| commit | 4a90a99c4f8002edaa6be11bd756872ebf3f3d97 (patch) | |
| tree | 1cd36003313ca46b1d725d508d5918cf6aaac254 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | x86: Sanity-check static_cpu_has usage (diff) | |
| download | kernel-4a90a99c4f8002edaa6be11bd756872ebf3f3d97.tar.gz kernel-4a90a99c4f8002edaa6be11bd756872ebf3f3d97.zip | |
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 <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
