diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-26 18:31:00 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-06-01 12:58:46 -0400 |
commit | 754421c8cab1a568be844a7069fe04c1cf6391b8 (patch) | |
tree | 71fa1f54e664ff45289fccfa946747a18e20727f /fs/eventpoll.c | |
parent | fb21affa49204acd409328415b49bfe90136653c (diff) |
HAVE_RESTORE_SIGMASK is defined on all architectures now
Everyone either defines it in arch thread_info.h or has TIF_RESTORE_SIGMASK
and picks default set_restore_sigmask() in linux/thread_info.h. Kill the
ifdefs, slap #error in linux/thread_info.h to catch breakage when new ones
get merged.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/eventpoll.c')
-rw-r--r-- | fs/eventpoll.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 079d1be65ba9..74598f67efeb 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c | |||
@@ -1853,8 +1853,6 @@ error_return: | |||
1853 | return error; | 1853 | return error; |
1854 | } | 1854 | } |
1855 | 1855 | ||
1856 | #ifdef HAVE_SET_RESTORE_SIGMASK | ||
1857 | |||
1858 | /* | 1856 | /* |
1859 | * Implement the event wait interface for the eventpoll file. It is the kernel | 1857 | * Implement the event wait interface for the eventpoll file. It is the kernel |
1860 | * part of the user space epoll_pwait(2). | 1858 | * part of the user space epoll_pwait(2). |
@@ -1899,8 +1897,6 @@ SYSCALL_DEFINE6(epoll_pwait, int, epfd, struct epoll_event __user *, events, | |||
1899 | return error; | 1897 | return error; |
1900 | } | 1898 | } |
1901 | 1899 | ||
1902 | #endif /* HAVE_SET_RESTORE_SIGMASK */ | ||
1903 | |||
1904 | static int __init eventpoll_init(void) | 1900 | static int __init eventpoll_init(void) |
1905 | { | 1901 | { |
1906 | struct sysinfo si; | 1902 | struct sysinfo si; |