Re: [PATCH 04/13] qemu-kvm: Remove eventfd compat header

Michael S. Tsirkin
2011-06-28T11:08:49Z

On Mon, Jun 27, 2011 at 08:19:47PM +0200, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> No longer used.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

I think it's actually handy to build on old systems which have
a recent enough kernel but not the header.
Does it hurt much to keep it around?

> ---
> compat/sys/eventfd.h | 13 -------------
> 1 files changed, 0 insertions(+), 13 deletions(-)
> delete mode 100644 compat/sys/eventfd.h
>
> diff --git a/compat/sys/eventfd.h b/compat/sys/eventfd.h
> deleted file mode 100644
> index f55d96a..0000000
> --- a/compat/sys/eventfd.h
> +++ /dev/null
> @@ -1,13 +0,0 @@
> -#ifndef _COMPAT_SYS_EVENTFD
> -#define _COMPAT_SYS_EVENTFD
> -
> -#include <unistd.h>
> -#include <syscall.h>
> -
> -
> -static inline int eventfd (int count, int flags)
> -{
> - return syscall(SYS_eventfd, count, flags);
> -}
> -
> -#endif
> --
> 1.7.1