[PATCH] MIPS: restore INLINE_SYSCALL macro

Rob Landley rob at landley.net
Sun May 16 03:19:24 UTC 2010


On Tuesday 27 April 2010 11:05:25 Austin Foxley wrote:
> On 04/06/2010 08:56 AM, Gabor Juhos wrote:
> > The ideal solution would to fix the 'internal_syscall' macros to generate
> > correct code for the NCS case as well. However the INLINE_SYSCALL macro
> > generates smaller code if the syscall number is constant, so it is
> > useful in such cases.
> >
> > Additionally, the current INLINE_SYSCALL_NCS in the 'mips/bits/syscall.h'
> > is a duplicate of the one in the 'common/bits/syscalls-common.h' so it
> > should be removed anyway.
> > ---
> >  libc/sysdeps/linux/mips/bits/syscalls.h |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
>
> Thanks, Applied. Can someone with a MIPS test setup confirm this fix
> with current HEAD?

Well, I couldn't:

  AS libc/sysdeps/linux/mips/clone.os
In file included from libc/sysdeps/linux/mips/clone.S:25:
./libc/sysdeps/linux/mips/sysdep.h:41:20: error: regdef.h: No such file or 
directory
make: *** [libc/sysdeps/linux/mips/clone.os] Error 1
make: *** Waiting for unfinished jobs....

Builds fine with 0.9.31, possibly I need a .config tweak?

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds



More information about the uClibc mailing list