From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31494 invoked by alias); 3 Oct 2005 22:52:00 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 31478 invoked by uid 22791); 3 Oct 2005 22:51:59 -0000 Received: from sunsite.ms.mff.cuni.cz (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 03 Oct 2005 22:51:59 +0000 Received: from sunsite.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.1/8.13.1) with ESMTP id j93Mpn83010445; Tue, 4 Oct 2005 00:51:49 +0200 Received: (from jakub@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id j93MpnWW010444; Tue, 4 Oct 2005 00:51:49 +0200 Date: Mon, 03 Oct 2005 22:52:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Fix ia64 build Message-ID: <20051003225148.GT15708@sunsite.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2005-10/txt/msg00000.txt.bz2 Hi! 2005-10-03 Jakub Jelinek * allocatestack.c (setxid_signal_thread): Add INTERNAL_SYSCALL_DECL (err). --- libc/nptl/allocatestack.c 2 Oct 2005 15:39:21 -0000 1.58 +++ libc/nptl/allocatestack.c 3 Oct 2005 21:49:07 -0000 1.51.2.7 @@ -839,6 +839,7 @@ setxid_signal_thread (struct xid_command } int val; + INTERNAL_SYSCALL_DECL (err); #if __ASSUME_TGKILL val = INTERNAL_SYSCALL (tgkill, err, 3, THREAD_GETMEM (THREAD_SELF, pid), t->tid, SIGSETXID); @@ -867,8 +868,6 @@ __nptl_setxid (struct xid_command *cmdp) __xidcmd = cmdp; cmdp->cntr = 0; - INTERNAL_SYSCALL_DECL (err); - struct pthread *self = THREAD_SELF; /* Iterate over the list with system-allocated threads first. */ @@ -901,6 +900,7 @@ __nptl_setxid (struct xid_command *cmdp) /* This must be last, otherwise the current thread might not have permissions to send SIGSETXID syscall to the other threads. */ + INTERNAL_SYSCALL_DECL (err); result = INTERNAL_SYSCALL_NCS (cmdp->syscall_no, err, 3, cmdp->id[0], cmdp->id[1], cmdp->id[2]); if (INTERNAL_SYSCALL_ERROR_P (result, err)) Jakub