Subject: CVS commit: src/sys/arch/xen
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 03/26/2005 20:00:49
Module Name:	src
Committed By:	bouyer
Date:		Sat Mar 26 20:00:49 UTC 2005

Modified Files:
	src/sys/arch/xen/i386: hypervisor_machdep.c
	src/sys/arch/xen/include: cpufunc.h xen.h

Log Message:
Don't assume we're on a uniprocessor system (the hypervisor may be running SMP)
and add "lock;" barrier to avoid instruction reordering in event handlings.
This fix the last issue with event loss I was getting on SMP systems.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sys/arch/xen/i386/hypervisor_machdep.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/xen/include/cpufunc.h
cvs rdiff -r1.10 -r1.11 src/sys/arch/xen/include/xen.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.