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