summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/l4/hurd/pt-sysdep.h2
-rw-r--r--sysdeps/mach/hurd/pt-sysdep.h1
2 files changed, 3 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;
diff --git a/sysdeps/mach/hurd/pt-sysdep.h b/sysdeps/mach/hurd/pt-sysdep.h
index 18de9c55..83bad963 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);