kib dae91cc140 Disable local interrupts before testing the PCB_FULL_IRET flag.
Thread might be preempted after testing, which causes the flag to be
cleared. If ast was not delivered, we will do sysret with potentially
wrong fs/gs bases.

Reviewed by:	jhb, jkim
MFC after:	1 week (together with r220430, r220452)
2011-04-08 21:26:50 +00:00
..
2011-04-06 19:13:04 +00:00
2011-02-21 09:01:34 +00:00
2010-12-05 10:15:23 +00:00