[git commit] syscall: unify common syscall defines

Carmelo AMOROSO carmelo.amoroso at st.com
Thu Jul 9 07:35:05 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Frysinger wrote:
> commit: http://git.uclibc.org/uClibc/commit/?id=b387d762361e6c109c6a60bced003e72447b0a33
> branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
> 
> Patch is too large, so refusing to show it
> 
> 
> Unify all the common syscall defines in syscalls-common.h and scrub all
> the duplicated code from relevant ports.  This should also make converting
> existing ports to INLINE_SYSCALL() much easier as they don't have to get
> lost in all the unrelated noise, as well as creating new ports.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  include/sys/syscall.h                            |    1 +
>  libc/sysdeps/linux/alpha/bits/syscalls.h         |  401 +++++++++++++---------
>  libc/sysdeps/linux/arm/bits/syscalls.h           |   71 ----
>  libc/sysdeps/linux/avr32/bits/syscalls.h         |   89 -----
>  libc/sysdeps/linux/bfin/bits/syscalls.h          |  145 --------
>  libc/sysdeps/linux/common/bits/syscalls-common.h |   81 +++++
>  libc/sysdeps/linux/common/bits/syscalls.h        |    3 +-
>  libc/sysdeps/linux/i386/bits/syscalls.h          |   66 ----
>  libc/sysdeps/linux/ia64/bits/syscalls.h          |   55 ---
>  libc/sysdeps/linux/mips/bits/syscalls.h          |   67 ----
>  libc/sysdeps/linux/powerpc/bits/syscalls.h       |   54 ---
>  libc/sysdeps/linux/sh/bits/syscalls.h            |  134 -------
>  libc/sysdeps/linux/sparc/bits/syscalls.h         |   81 -----
>  libc/sysdeps/linux/x86_64/bits/syscalls.h        |   78 -----
>  libc/sysdeps/linux/xtensa/bits/syscalls.h        |   52 ---
>  15 files changed, 317 insertions(+), 1061 deletions(-)
>  create mode 100644 libc/sysdeps/linux/common/bits/syscalls-common.h
> _______________________________________________
> uClibc-cvs mailing list
> uClibc-cvs at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc-cvs
> 

Mike,
this breaks sh4 build on master. I'll see and fix it.
We are merging this patch in nptl branch and test it for sh4.

Carmelo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpVnakACgkQoRq/3BrK1s/PWACgxVP73LEGfXQTJA5FGanTPIqU
QS4AnjMwDRAt2YwZ2pwHouzYZjxXsPqY
=0vfA
-----END PGP SIGNATURE-----


More information about the uClibc-cvs mailing list