aboutsummaryrefslogtreecommitdiffstats
path: root/xen/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-03-31 13:11:56 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-03-31 13:11:56 +0100
commit57f5ad16f884c8a1ce326dcf0272b4fb4abc8c8d (patch)
tree42298acd97219747d75a9adec51ce5c3f3cc74f1 /xen/tools
parent39a239fc0439e21684b75494fd2506ef7ce74b26 (diff)
downloadxen-57f5ad16f884c8a1ce326dcf0272b4fb4abc8c8d.tar.gz
xen-57f5ad16f884c8a1ce326dcf0272b4fb4abc8c8d.tar.bz2
xen-57f5ad16f884c8a1ce326dcf0272b4fb4abc8c8d.zip
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 <jbeulich@novell.com>
Diffstat (limited to 'xen/tools')
-rw-r--r--xen/tools/get-fields.sh2
1 files changed, 1 insertions, 1 deletions
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
;;
*)