]> git.ozlabs.org Git - ccan/commit
cpuid: fix build on 64-bit systems
authorAhmed Samy <f.fallen45@gmail.com>
Fri, 11 Oct 2013 11:05:03 +0000 (13:05 +0200)
committerAhmed Samy <f.fallen45@gmail.com>
Fri, 11 Oct 2013 11:05:03 +0000 (13:05 +0200)
commit55b3c66cb086067c9e1f41ef149cfd34bac86028
tree90919fb73735eddf52c31d6e08f6401dd625057b
parent158de63fda4e79ce3a632f25d444a1ec66f45d74
cpuid: fix build on 64-bit systems

Some instructions needed to use their correct prefix and correct
registers, such as "eax -> rax" and "pushl -> pushq"

Reported-by: Emilio G. Cota <cota@braap.org>
Tested-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
ccan/cpuid/cpuid.c