jhb 007376c918 Mark the __curthread() functions as __pure2 and remove the volatile keyword
from the inline assembly.  This allows the compiler to cache invocations of
curthread since it's value does not change within a thread context.

Submitted by:	zec (i386)
MFC after:	1 week
2010-07-29 18:44:10 +00:00
..
2010-04-07 18:52:51 +00:00
2010-01-01 20:55:11 +00:00
2009-04-15 17:31:22 +00:00
2010-07-09 21:27:42 +00:00
2010-07-21 18:47:52 +00:00
2007-12-02 20:40:35 +00:00