[PATCH] fix epoll_pwait when EPOLL=n

From: Randy Dunlap
Date: Mon Oct 16 2006 - 12:00:56 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fixes http://bugzilla.kernel.org/show_bug.cgi?id=7371

sys_epoll_pwait needs to be listed as a conditional (weak)
entry point for CONFIG_EPOLL=n.

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
kernel/sys_ni.c | 1 +
1 file changed, 1 insertion(+)

--- linux-2619-rc2-pv.orig/kernel/sys_ni.c
+++ linux-2619-rc2-pv/kernel/sys_ni.c
@@ -49,6 +49,7 @@ cond_syscall(compat_sys_get_robust_list)
cond_syscall(sys_epoll_create);
cond_syscall(sys_epoll_ctl);
cond_syscall(sys_epoll_wait);
+cond_syscall(sys_epoll_pwait);
cond_syscall(sys_semget);
cond_syscall(sys_semop);
cond_syscall(sys_semtimedop);


---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/