From 57f5ad16f884c8a1ce326dcf0272b4fb4abc8c8d Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 31 Mar 2009 13:11:56 +0100 Subject: x86 mce: fix c/s 17968 for 32-on-64 32-on-64 aspects were not properly considered. Add respective checking, and adjust structure layouts for the cases where the checking pointed out issues. Also, - fix a potential memory corruption issue (do_mca() could write beyond log_cpus' end if the guest specified less than the number of online CPUs - there is no reason to make the (not even properly prefixed) definitions in xen/public/arch-x86/xen-mca.h globally visible by including the file from xen/public/arch-x86/xen.h. Signed-off-by: Jan Beulich --- xen/tools/get-fields.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xen/tools') diff --git a/xen/tools/get-fields.sh b/xen/tools/get-fields.sh index 49019a43be..2537fc49a1 100644 --- a/xen/tools/get-fields.sh +++ b/xen/tools/get-fields.sh @@ -328,7 +328,7 @@ check_field () struct|union) ;; [a-zA-Z_]*) - echo -n " CHECK_$n" + echo -n " CHECK_${n#xen_}" break ;; *) -- cgit v1.2.3