Subject: Re: [POWERPC] wire up sys_epoll_pwait

From: Arnd Bergmann <[email-masked]>
Date: Wed, 21 Feb 2007 10:36:01 +0100

On Wednesday 21 February 2007 05:36, Stephen Rothwell wrote:
> @@ -306,3 +306,4 @@ COMPAT_SYS_SPU(get_robust_list)
> =A0COMPAT_SYS_SPU(set_robust_list)
> =A0COMPAT_SYS(move_pages)
> =A0SYSCALL_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 <><