public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb•de>
To: linuxppc-dev@ozlabs•org
Cc: Stephen Rothwell <sfr@canb•auug.org.au>, paulus@samba•org
Subject: Re: [POWERPC] wire up sys_epoll_pwait
Date: Wed, 21 Feb 2007 10:36:01 +0100	[thread overview]
Message-ID: <200702211036.01861.arnd@arndb.de> (raw)
In-Reply-To: <20070221153622.2aa958fa.sfr@canb.auug.org.au>

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 <><

      reply	other threads:[~2007-02-21  9:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21  4:36 [POWERPC] wire up sys_epoll_pwait Stephen Rothwell
2007-02-21  9:36 ` Arnd Bergmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200702211036.01861.arnd@arndb.de \
    --to=arnd@arndb$(echo .)de \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=paulus@samba$(echo .)org \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox