Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Niki Waibel <niki.waibel@newlogic.com>
To: Marc Zyngier <mzyngier@freesurf.fr>
Cc: axp-list@redhat.com
Subject: Re: linux-2.5.66
Date: Thu, 27 Mar 2003 10:24:30 +0100 (MET)	[thread overview]
Message-ID: <200303270924.h2R9OUh21733@enterprise2.newlogic.at> (raw)
In-Reply-To: <wrpsmtamne3.fsf@hina.wild-wind.fr.eu.org>

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 <niki.waibel@newlogic.com> 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 */




      reply	other threads:[~2003-03-27  9:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-26 10:05 linux-2.5.66 Niki Waibel
2003-03-26 10:11 ` linux-2.5.66 Falk Hueffner
2003-03-26 10:29 ` linux-2.5.66 Marc Zyngier
2003-03-27  9:24   ` Niki Waibel [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox