inteltool: fixed 64 bit build
authorMathias Krause <mathias.krause@secunet.com>
Mon, 27 Jun 2011 12:35:00 +0000 (14:35 +0200)
committerPatrick Georgi <patrick@georgi-clan.de>
Wed, 14 Sep 2011 05:43:19 +0000 (07:43 +0200)
commit9beb5df3c4c35ddefa35742633a7876852065fae
treeafdbd89636e593deff93ca876f11389c7c65d664
parent5782fee0e14557963149c47ad07cf1d235196f67
inteltool: fixed 64 bit build

The inline assembly for cpuid() was 32 bit specific. Additionally a
format string referencing a size_t argument wasn't using the %z length
modifier.

Change-Id: Iac4a4d5ca81f9bf67bb7b8772013bf6c289e4301
Signed-off-by: Mathias Krause <mathias.krause@secunet.com>
Reviewed-on: http://review.coreboot.org/211
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marcj303@gmail.com>
util/inteltool/cpu.c
util/inteltool/inteltool.c