Re: [PATCH] [x86-64] Add getcpu and epoll_pwait system calls.

From: Russell King
Date: Wed May 09 2007 - 04:44:05 EST


On Tue, May 08, 2007 at 03:43:22PM -0700, Chris Wedgwood wrote:
> On Wed, May 09, 2007 at 12:24:32AM +0200, Andi Kleen wrote:
>
> > Somehow yes. But i'm not going to add a useless syscall just to
> > shut it up.
>
> It turns out this has come up in other places. Sam has a suggestion
> on how to silence this per-arch so I'll post a patch once that change
> is in.

We knew about this when David and myself designed the detection
method, and a method of ignoring those calls which were never going
to be implemented on a particular architecture.

Just add:

#define __IGNORE_getcpu

to asm/unistd.h, preferably in a __KERNEL__ protected area.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
-
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/