Re: [Qemu-devel] [PATCH] Remove abuse of kernel headers.

2006-06-08 Thread David Woodhouse
On Wed, 2006-06-07 at 23:12 +0100, David Woodhouse wrote: > The _syscallX() macros in the kernel's private headers are not suitable > for use in userspace. This patch switches from abusing those to using > the syscall() function which glibc provides. One more instance... --- qemu-0.8.1/target-i3

[Qemu-devel] [PATCH] Remove abuse of kernel headers.

2006-06-07 Thread David Woodhouse
The _syscallX() macros in the kernel's private headers are not suitable for use in userspace. This patch switches from abusing those to using the syscall() function which glibc provides. --- qemu-0.8.1/linux-user/syscall.c~2006-05-03 21:32:58.0 +0100 +++ qemu-0.8.1/linux-user/syscall.c