Revision 487472bc01fab0625996aad37836aad931e4eda9 authored by Andi Kleen on 11 January 2006, 21:45:27 UTC, committed by Linus Torvalds on 12 January 2006, 03:04:58 UTC
Passing random input values in eax to cpuid is not a good idea
because the CPU will GPF for unknown ones.
Use the correct x86-64 version that exists for a longer time too.
This also adds a memory barrier to prevent the optimizer from
reordering.

Cc: tigran@veritas.com

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent c818a18
History
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 424 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.5 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 64.1 KB
Makefile -rw-r--r-- 43.4 KB
README -rw-r--r-- 14.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top