This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[glibc] hurd: Fix build


https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9681c61f11d08f757398c5fb74d676db3e78a576

commit 9681c61f11d08f757398c5fb74d676db3e78a576
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Fri Aug 30 18:27:47 2019 +0200

    hurd: Fix build
    
    * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): Spin-lock '&ss->lock',
    not 'ss'.

Diff:
---
 sysdeps/mach/hurd/i386/sigreturn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/mach/hurd/i386/sigreturn.c b/sysdeps/mach/hurd/i386/sigreturn.c
index c9eaf96..111ca33 100644
--- a/sysdeps/mach/hurd/i386/sigreturn.c
+++ b/sysdeps/mach/hurd/i386/sigreturn.c
@@ -30,7 +30,7 @@ static void
 __sigreturn2 (int *usp)
 {
   struct hurd_sigstate *ss = _hurd_self_sigstate ();
-  __spin_unlock (ss);
+  __spin_unlock (&ss->lock);
 
   sp = usp;
 #define A(line) asm volatile (#line)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]