blob: f6ba8de981fd2b6b8a56c86f3b720665a5ccbe5e [file] [log] [blame]
static inline struct pthread *__pthread_self()
{
struct pthread *self;
__asm__ ("ori %0, r21, 0" : "=r" (self) );
return self;
}
#define TP_ADJ(p) (p)
#define MC_PC regs.pc