[git commit] syscall: unify common syscall defines

Mike Frysinger vapier at gentoo.org
Fri Jul 3 20:44:59 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=b130cfb465ca69a786e0bff9fa7e989f70178387
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

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>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 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


More information about the uClibc-cvs mailing list