[POWERPC] wire up sys_epoll_pwait

Arnd Bergmann arnd at arndb.de
Wed Feb 21 20:36:01 EST 2007


On Wednesday 21 February 2007 05:36, Stephen Rothwell wrote:
> @@ -306,3 +306,4 @@ COMPAT_SYS_SPU(get_robust_list)
>  COMPAT_SYS_SPU(set_robust_list)
>  COMPAT_SYS(move_pages)
>  SYSCALL_SPU(getcpu)
> +COMPAT_SYS_SPU(epoll_pwait)

Sorry, but this is wrong. epoll_pwait manipulates the sigmask,
which is about the only thing that we can't let the SPU fiddle
with, so it should be COMPAT_SYS().

I just noticed the move_pages syscall that was added recently,
and that one should indeed be callable from an SPU.

This reminds me that I need to update the comment about what
calls are allowed from the SPU and which ones are not, since
we can now also allow optional ones like the mq_open mentioned
in the comment.

	Arnd <><



More information about the Linuxppc-dev mailing list