Rev 1906 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1906 | Rev 3805 | ||
---|---|---|---|
Line 825... | Line 825... | ||
825 | 825 | ||
826 | static inline struct _reent *__getreent(void) |
826 | static inline struct _reent *__getreent(void) |
827 | { |
827 | { |
828 | struct _reent *ent; |
828 | struct _reent *ent; |
829 | __asm__ __volatile__( |
829 | __asm__ __volatile__( |
830 | "movl %%fs:12, %0" |
830 | "movl %%fs:16, %0" |
831 | :"=r"(ent)); |
831 | :"=r"(ent)); |
832 | return ent; |
832 | return ent; |
Line 833... | Line 833... | ||
833 | }; |
833 | }; |