Subversion Repositories HelenOS

Rev

Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2071 Rev 2082
Line 49... Line 49...
49
 
49
 
50
static inline tcb_t * __tcb_get(void)
50
static inline tcb_t * __tcb_get(void)
51
{
51
{
52
    void * retval;
52
    void * retval;
53
 
53
 
54
    __asm__ ("movl %%gs:0, %0" : "=r"(retval));
54
    asm ("movl %%gs:0, %0" : "=r"(retval));
55
    return retval;
55
    return retval;
56
}
56
}
57
 
57
 
58
#endif
58
#endif
59
 
59