summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/l4/hurd/pt-sysdep.h2
-rw-r--r--sysdeps/mach/hurd/pt-sysdep.h1
3 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ea8869..be59867 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2005-01-12 Pietro Ferrari <pietro@bastardi.net>
* include/pthread/pthread.h (pthread_spin_destroy): Replace extern
diff --git a/sysdeps/l4/hurd/pt-sysdep.h b/sysdeps/l4/hurd/pt-sysdep.h
index e37beef..8717533 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;
diff --git a/sysdeps/mach/hurd/pt-sysdep.h b/sysdeps/mach/hurd/pt-sysdep.h
index 18de9c5..83bad96 100644
--- a/sysdeps/mach/hurd/pt-sysdep.h
+++ b/sysdeps/mach/hurd/pt-sysdep.h
@@ -53,6 +53,7 @@
})
extern inline void
+__attribute__((__always_inline__))
__pthread_stack_dealloc (void *stackaddr, size_t stacksize)
{
__vm_deallocate (__mach_task_self (), (vm_offset_t) stackaddr, stacksize);