handle case where eflags represents actual flags value when
restoring interrupts
This commit is contained in:
parent
fed9d33665
commit
e1cd1f8e48
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user