Re: [PATCH 1/3] kbuild: complain about missing system calls.

From: Tony Luck
Date: Mon May 07 2007 - 18:30:05 EST


On 3/21/07, Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
Most system calls seem to get added to i386 first. This patch
automatically generates a warning for any new system call which is
implemented on i386 but not the architecture currently being compiled.

This is now upstream, and so I see a bunch of warnings for every ia64
build. Some of them are real, I need to add some syscalls, but there
are a few bogus ones because ia64 chose different names (e.g. we have
a sys_clone() that glibc uses to implement fork() and vfork()).

Just checking that the right way for me to shut checksyscalls.sh up is
to add:

#define __IGNORE_fork
#define __IGNORE_vfork

etc. to include/asm-ia64/unistd.h for each of the bogus ones. Or is there
some other preferred mechanism?

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/