diff options
author | jake <jake@FreeBSD.org> | 2002-03-29 16:35:26 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-03-29 16:35:26 +0000 |
commit | 8f9ce8398dc5c2f244495c3d0f279c47f0c2d58d (patch) | |
tree | e9eef5126c7bc7935260d949155e4f3eb728510f /sys/i386 | |
parent | 1787e9ff8d12fd561c9345471ac9c345fa9251dd (diff) | |
download | FreeBSD-src-8f9ce8398dc5c2f244495c3d0f279c47f0c2d58d.zip FreeBSD-src-8f9ce8398dc5c2f244495c3d0f279c47f0c2d58d.tar.gz |
Remove abuse of intr_disable/restore in MI code by moving the loop in ast()
back into the calling MD code. The MD code must ensure no races between
checking the astpening flag and returning to usermode.
Submitted by: peter (ia64 bits)
Tested on: alpha (peter, jeff), i386, ia64 (peter), sparc64
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/isa/ipl.s | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/isa/ipl.s b/sys/i386/isa/ipl.s index c1b1d86..78527f6 100644 --- a/sys/i386/isa/ipl.s +++ b/sys/i386/isa/ipl.s @@ -80,6 +80,7 @@ doreti_ast: pushl %esp /* pass a pointer to the trapframe */ call ast add $4,%esp + jmp doreti_ast /* * doreti_exit: pop registers, iret. |