]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
x86, xen: Initialize cx to suppress warning
authorH. Peter Anvin <hpa@zytor.com>
Wed, 26 Aug 2009 04:06:03 +0000 (21:06 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 26 Aug 2009 04:10:32 +0000 (21:10 -0700)
commit7adb4df410966dfe43e4815256e3215110648fb8
tree60862ffa783ce6bbde23b5ad556b162d0bfa2eb6
parentd560bc61575efae43595cbcb56d0ba3b9450139c
x86, xen: Initialize cx to suppress warning

Initialize cx before calling xen_cpuid(), in order to suppress the
"may be used uninitialized in this function" warning.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
arch/x86/xen/enlighten.c