Set cpuid definition to 0 before initializing it
commitdb0ad1ba047b59cb89865008dcd0edd301e84c37
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 27 Sep 2010 13:16:16 +0000 (27 15:16 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 20 Oct 2010 21:15:04 +0000 (20 16:15 -0500)
tree88d4ceb62a73de413d892ba7a4077077439074ef
parent1e027be7e91d854d7a0132e4a32bdf222c33dcfe
Set cpuid definition to 0 before initializing it

This patch cleans the (stack-allocated) cpuid definition to
0 before actually initializing it.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
target-i386/cpuid.c