On Mon, Apr 02, 2007 at 07:58:51AM +0200, Andi Kleen wrote:
> On Sunday 01 April 2007 23:10, Sam Ravnborg wrote:
> > On Sun, Apr 01, 2007 at 10:54:53PM +0200, Andi Kleen wrote:
> > > 
> > > > ============== x86_64 ================
> > > >   CALL    /home/sam/kernel/kbuild.git/scripts/checksyscalls.sh
> > > > <stdin>:1356:2: warning: #warning syscall getcpu not implemented
> > > 
> > > It's implemented as a vsyscall.
> > 
> > Can I assume you take care of silence the warning?
> > A dummy entry in unistd will do the trick.
> 
> As Arnd points out that would break reasonable user space checks.

Actually, this specific case would also be wrong -- you wouldn't want
programs to return -1, you'd want them to call the vsyscall.
-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to