svn commit: r184248 - head/sys/i386/xen
Kip Macy
kmacy at FreeBSD.org
Sat Oct 25 04:46:03 UTC 2008
Author: kmacy
Date: Sat Oct 25 04:46:02 2008
New Revision: 184248
URL: http://svn.freebsd.org/changeset/base/184248
Log:
handle case where eflags represents actual flags value when
restoring interrupts
Modified:
head/sys/i386/xen/xen_machdep.c
Modified: head/sys/i386/xen/xen_machdep.c
==============================================================================
--- head/sys/i386/xen/xen_machdep.c Sat Oct 25 04:44:22 2008 (r184247)
+++ head/sys/i386/xen/xen_machdep.c Sat Oct 25 04:46:02 2008 (r184248)
@@ -345,6 +345,8 @@ xen_load_cr3(u_int val)
void
xen_restore_flags(u_int eflags)
{
+ if (eflags > 1)
+ eflags = ((eflags & PSL_I) == 0);
__restore_flags(eflags);
}
More information about the svn-src-all
mailing list