diff mbox series

[2/3] Hurd: Define ARCH_MIN_GUARD_SIZE in internal <pthread.h>

Message ID a6aabf7f8df8c54ea519d190530bd57379a328fa.1621511874.git.fweimer@redhat.com
State New
Headers show
Series Convenience function for allocating (alternate signal) stacks | expand

Commit Message

Florian Weimer May 20, 2021, 12:13 p.m. UTC
This macro is always defined on Linux.
---
 sysdeps/htl/include/pthread.h | 3 +++
 1 file changed, 3 insertions(+)

Comments

H.J. Lu May 20, 2021, 2:41 p.m. UTC | #1
On Thu, May 20, 2021 at 6:08 AM Florian Weimer via Libc-alpha
<libc-alpha@sourceware.org> wrote:
>
> This macro is always defined on Linux.
> ---
>  sysdeps/htl/include/pthread.h | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/sysdeps/htl/include/pthread.h b/sysdeps/htl/include/pthread.h
> index a9c0e58b00..f040c2f957 100644
> --- a/sysdeps/htl/include/pthread.h
> +++ b/sysdeps/htl/include/pthread.h
> @@ -1,6 +1,9 @@
>  #ifndef        _PTHREAD_H
>  #include_next <pthread.h>
>  #ifndef _ISOMAC
> +
> +# define ARCH_MIN_GUARD_SIZE 0
> +
>  # if defined __USE_EXTERN_INLINES && defined _LIBC && !IS_IN (libsupport)
>  #  include <bits/spin-lock-inline.h>
>
> --
> 2.31.1
>

LGTM.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>

Thanks.
diff mbox series

Patch

diff --git a/sysdeps/htl/include/pthread.h b/sysdeps/htl/include/pthread.h
index a9c0e58b00..f040c2f957 100644
--- a/sysdeps/htl/include/pthread.h
+++ b/sysdeps/htl/include/pthread.h
@@ -1,6 +1,9 @@ 
 #ifndef	_PTHREAD_H
 #include_next <pthread.h>
 #ifndef _ISOMAC
+
+# define ARCH_MIN_GUARD_SIZE 0
+
 # if defined __USE_EXTERN_INLINES && defined _LIBC && !IS_IN (libsupport)
 #  include <bits/spin-lock-inline.h>