From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 131F03F688 for ; Wed, 26 Mar 2003 05:32:57 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h2QAWvh15661 for axp-list@listman.redhat.com; Wed, 26 Mar 2003 05:32:57 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h2QAWvV15657 for ; Wed, 26 Mar 2003 05:32:57 -0500 Received: from young-lust.wild-wind.fr.eu.org (lopsy-lu.misterjones.org [62.4.18.26]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h2QAWuQ21879 for ; Wed, 26 Mar 2003 05:32:56 -0500 Received: from hina.wild-wind.fr.eu.org ([192.168.70.139]) by young-lust.wild-wind.fr.eu.org with esmtp (Exim 3.35 #1 (Debian)) id 18y89d-000310-00 for ; Wed, 26 Mar 2003 11:29:09 +0100 Received: from maz by hina.wild-wind.fr.eu.org with local (Exim 3.36 #1 (Debian)) id 18y8A8-0005FU-00; Wed, 26 Mar 2003 11:29:40 +0100 To: axp-list@redhat.com Subject: Re: linux-2.5.66 References: <200303261005.h2QA5nh07757@enterprise2.newlogic.at> Organization: Metropolis -- Nowhere X-Attribution: maz From: Marc Zyngier Date: 26 Mar 2003 11:29:40 +0100 Message-ID: In-Reply-To: <200303261005.h2QA5nh07757@enterprise2.newlogic.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com X-Reply-To: mzyngier@freesurf.fr List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: >>>>> "Niki" == Niki Waibel writes: Niki> include/linux/socket.h: Niki> prototypes sys_sendmsg() and sys_recvmsg() Niki> this is now defined somewhere else -- so i commented Niki> that 2 prototypes to continue compiling. Could you instead try the following patch ? Thanks, M. # This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1017 -> 1.1018 # include/asm-alpha/unistd.h 1.17 -> 1.18 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 03/03/25 maz@hina.wild-wind.fr.eu.org 1.1018 # Fix alpha cond_syscall to be immune to type-checking. # -------------------------------------------- # diff -Nru a/include/asm-alpha/unistd.h b/include/asm-alpha/unistd.h --- a/include/asm-alpha/unistd.h Tue Mar 25 14:56:07 2003 +++ b/include/asm-alpha/unistd.h Tue Mar 25 14:56:07 2003 @@ -612,6 +612,12 @@ * What we want is __attribute__((weak,alias("sys_ni_syscall"))), * but it doesn't work on all toolchains, so we just do it by hand */ +#if 0 +/* This doesn't work if there's a function prototype for NAME visible, + because the argument types probably won't match. */ #define cond_syscall(x) asmlinkage long x(void) __attribute__((weak,alias("sys_ni_syscall"))); +#else +#define cond_syscall(x) asm (".weak\t" #x ";\n\t" #x "=sys_ni_syscall"); +#endif #endif /* _ALPHA_UNISTD_H */ -- Places change, faces change. Life is so very strange.