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

From: David Woodhouse
Date: Mon May 07 2007 - 18:40:15 EST


On Mon, 2007-05-07 at 15:29 -0700, Tony Luck wrote:
> 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?

You could add them to scripts/checksyscalls.sh itself -- I think it's
fairly unlikely that those are syscalls which a new arch port is going
to 'forget' :)

--
dwmw2

-
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/