Re: Why __syscallN macros are removed?

From: Davide Libenzi
Date: Thu Feb 22 2007 - 22:04:48 EST


On Fri, 23 Feb 2007, Dong Feng wrote:

> The __syscallN series macros have disappeared in
> include/asm-i386/unistd.h. Why? I occasionally what to add and use
> some new system calls, mainly for debug use. Now I can not access the
> system call I added from user space.

You can use glibc's syscall(2) instead of macros.



- Davide


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