[PATCH] Fix powerpc64 build if CONFIG_EPOLL=n

Jimi Xenidis jimix at watson.ibm.com
Sun Jul 27 22:48:09 EST 2008


Declate compat_sys_epoll_pwait as a conditional syscall like the rest  
of the epoll interfaces.
We could have put an #ifdef around the entry in include/asm-powerpc/ 
systbl.h, but IMHO this is ultimately correct patch.

Signed-off-by: Jimi Xenidis <jimix at watson.ibm.com>
---

diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c
index 5b9b467..0fea0ee 100644
--- a/kernel/sys_ni.c
+++ b/kernel/sys_ni.c
@@ -59,6 +59,7 @@ cond_syscall(sys_epoll_create);
  cond_syscall(sys_epoll_ctl);
  cond_syscall(sys_epoll_wait);
  cond_syscall(sys_epoll_pwait);
+cond_syscall(compat_sys_epoll_pwait);
  cond_syscall(sys_semget);
  cond_syscall(sys_semop);
  cond_syscall(sys_semtimedop);



More information about the Linuxppc-dev mailing list