From f8d44fdc72253347dae69fd2c4a231efba4fec98 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 26 Jul 2012 13:11:33 +0200 Subject: Merge Linux 3.5 epoll changes Add EPOLLWAKEUP. --- ports/sysdeps/unix/sysv/linux/hppa/sys/epoll.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ports/sysdeps/unix/sysv') diff --git a/ports/sysdeps/unix/sysv/linux/hppa/sys/epoll.h b/ports/sysdeps/unix/sysv/linux/hppa/sys/epoll.h index 0adf09029e..e06d5668f7 100644 --- a/ports/sysdeps/unix/sysv/linux/hppa/sys/epoll.h +++ b/ports/sysdeps/unix/sysv/linux/hppa/sys/epoll.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2002-2009, 2012 Free Software Foundation, Inc. +/* Copyright (C) 2002-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -64,6 +64,8 @@ enum EPOLL_EVENTS #define EPOLLHUP EPOLLHUP EPOLLRDHUP = 0x2000, #define EPOLLRDHUP EPOLLRDHUP + EPOLLWAKEUP = 1u << 29, +#define EPOLLWAKEUP EPOLLWAKEUP EPOLLONESHOT = 1u << 30, #define EPOLLONESHOT EPOLLONESHOT EPOLLET = 1u << 31 -- cgit 1.4.1