diff options
author | Neal H. Walfield <neal@gnu.org> | 2005-01-18 10:08:52 +0000 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2005-01-18 10:08:52 +0000 |
commit | d5bd96ef227dbb794326a8d707d04c9ffcdb3969 (patch) | |
tree | b1c367066378b37847190b189965562895f46a57 /sysdeps/l4/hurd | |
parent | f2b09556f28624f7428cbf6184f4836dad4009bf (diff) |
libpthread/
2005-01-18 Neal H. Walfield <neal@gnu.org>
* sysdeps/mach/hurd/pt-sysdep.h (__pthread_stack_dealloc): Add
__always_inline__ attribute.
* sysdeps/l4/hurd/pt-sysdep.h (_pthread_self): Likewise.
(__attribute__): Likewise.
Diffstat (limited to 'sysdeps/l4/hurd')
-rw-r--r-- | sysdeps/l4/hurd/pt-sysdep.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/l4/hurd/pt-sysdep.h b/sysdeps/l4/hurd/pt-sysdep.h index e37beefa..87175330 100644 --- a/sysdeps/l4/hurd/pt-sysdep.h +++ b/sysdeps/l4/hurd/pt-sysdep.h @@ -35,6 +35,7 @@ L4_Word_t my_errno; extern inline struct __pthread * +__attribute__((__always_inline__)) _pthread_self (void) { return (struct __pthread *) L4_MyUserDefinedHandle (); @@ -42,6 +43,7 @@ _pthread_self (void) extern inline void __pthread_stack_dealloc (void *stackaddr, size_t stacksize) +__attribute__((__always_inline__)) { /* XXX: can only implement this once we have a working memory manager. */ return; |