diff options
| author | Jacob Pan <[email protected]> | 2010-05-07 21:59:45 +0000 |
|---|---|---|
| committer | H. Peter Anvin <[email protected]> | 2010-05-07 22:31:17 +0000 |
| commit | 2b107d93635616db0c3f893c8cc2e6d5cd8d77b2 (patch) | |
| tree | c0398294e48d974887552de739b8e0bdd343b794 /scripts/mod/file2alias.c | |
| parent | Merge branch 'zerolen' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarz... (diff) | |
| download | kernel-2b107d93635616db0c3f893c8cc2e6d5cd8d77b2.tar.gz kernel-2b107d93635616db0c3f893c8cc2e6d5cd8d77b2.zip | |
x86: Avoid check hlt for newer cpus
Check hlt instruction was targeted for some older CPUs. It is an expensive
operation in that it takes 4 ticks to break out the check. We can avoid
such check completely for newer x86 cpus (family >= 5).
[ hpa: corrected family > 5 to family >= 5 ]
Signed-off-by: Jacob Pan <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions
