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 8B2E03EA75 for ; Thu, 27 Mar 2003 04:24:38 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h2R9Oca14682 for axp-list@listman.redhat.com; Thu, 27 Mar 2003 04:24:38 -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 h2R9OcV14668 for ; Thu, 27 Mar 2003 04:24:38 -0500 Received: from enterprise2.newlogic.at (enterprise2.newlogic.at [194.208.88.1]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h2R9ObQ26238 for ; Thu, 27 Mar 2003 04:24:37 -0500 Received: from enterprise2.newlogic.at (localhost [127.0.0.1]) by enterprise2.newlogic.at (8.11.6+Sun/8.11.6) with ESMTP id h2R9OVX21743 for ; Thu, 27 Mar 2003 10:24:31 +0100 (MET) Received: from blade100-2 (blade100-2.newlogic.at [172.27.120.2]) by enterprise2.newlogic.at (8.11.6+Sun/8.11.6) with ESMTP id h2R9OUh21733; Thu, 27 Mar 2003 10:24:30 +0100 (MET) Message-Id: <200303270924.h2R9OUh21733@enterprise2.newlogic.at> X-Mailer: XFMail 1.5.4 on Solaris X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 27 Mar 2003 10:24:30 +0100 (MET) Organization: NewLogic Technologies AG From: Niki Waibel To: Marc Zyngier Subject: Re: linux-2.5.66 Cc: axp-list@redhat.com 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: Niki Waibel List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: did a test with 2.5.66-bk2 AND your patch this night. everyting compiles fine! bk2 fixes the mm/fremap.c:139 and mm/rmap.c:388: issue, your patch fixes the include/linux/socket.h (prototypes of sys_sendmsg() and sys_recvmsg()) problem. there are still some other issues, but i'll start another thread about that. niki On 26-Mar-2003 Marc Zyngier wrote: >>>>>> "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 */