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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux