[PATCH] _syscall6 for 2.6

Martin Hicks mort at bork.org
Sat Nov 29 03:53:44 EST 2003


On Tue, 2003-11-25 at 08:29, Olaf Hering wrote:
>  On Tue, Nov 25, Franz Sirl wrote:
>
> > At 14:05 25.11.2003, Olaf Hering wrote:
> >
> > >This patch implements _syscall6 for ppc64, it is required for
> > >klibc.
> >
> > why do we need this in a 2.6 kernel? Can't we call everything
> > directly now in-kernel? And using this _syscallN stuff in userspace
> > is deprecated AFAIK and if there was some consensus across
> > architectures, we could remove them completely.
>
> klibc includes the kernel headers, and uses the syscall6 macro. How
> should it be done? Maybe we can update klibc to use something else. Is
> there example code?

Take a look at ia64.  I have definied the _syscall* macros in
arch/ia64/include/klibc

The defines in klibc/userland really have nothing to do with the
_syscall macros in the kernel.  The kernel ones were in place to allow
in-kernel syscalls.

mh

--
Martin Hicks || mort at bork.org || PGP/GnuPG: 0x4C7F2BEE

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list