]> git.baikalelectronics.ru Git - 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)
commit0213e7fbce14b9d3ecda4a74c881f3a9719f3359
tree60862ffa783ce6bbde23b5ad556b162d0bfa2eb6
parent865aed1a202525b5605a12d418e375817df7853b
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