[PATCH/RFC] syscall: unify common syscall defines
Mike Frysinger
vapier at gentoo.org
Sun Jul 5 22:28:32 UTC 2009
On Friday 03 July 2009 16:50:22 Mike Frysinger wrote:
> 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>
> ---
> can people give this an eye over to make sure i didnt screw up your port ?
> i'm doing build tests for most arches, but a quick look over by other peeps
> would be good.
sadly (and ironically), this causes build breakage for the arches that do not
define INLINE_SYSCALL() due to the weird hacks we have in a few files that try
to work around ports that have not yet been converted. specifically, the
fallback code in _exit, ftruncate64, truncate64, sync, and llseek.
Austin: can you please commit your sparc implementation fix to the master
branch ?
Lennart: do you need help with this ? or is this patch sufficient to get you
started ?
that leaves us with this arch list that need to get updated:
alpha/bits/syscalls.h
e1/bits/syscalls.h
frv/bits/syscalls.h
h8300/bits/syscalls.h
i960/bits/syscalls.h
microblaze/bits/syscalls.h
nios/bits/syscalls.h
nios2/bits/syscalls.h
sh64/bits/syscalls.h
v850/bits/syscalls.h
vax/bits/syscalls.h
of these, only vax/sh64 has a maintainer listed, so i say let them break until
someone can step up and fix it. i'll probably fix up alpha myself, but that
is the only hardware in this list that i have.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20090705/7ed4fef5/attachment.pgp>
More information about the uClibc
mailing list