[PATCH] [POWERPC] Wire up some more syscalls

Kumar Gala galak at kernel.crashing.org
Mon May 14 13:55:01 EST 2007


On May 13, 2007, at 10:50 PM, Stephen Rothwell wrote:

> signalfd, timerfd and eventfd
>
> Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
> ---
>  include/asm-powerpc/systbl.h |    3 +++
>  include/asm-powerpc/unistd.h |    5 ++++-
>  2 files changed, 7 insertions(+), 1 deletions(-)
>
> This depends on the patch I just sent to declare  
> compat_sys_signalfd and
> compat_sys_timerfd.  And I am assuming that the SPU's want these.
>
> -- 
> Cheers,
> Stephen Rothwell                    sfr at canb.auug.org.au
>
> diff --git a/include/asm-powerpc/systbl.h b/include/asm-powerpc/ 
> systbl.h
> index 3d44446..700ca59 100644
> --- a/include/asm-powerpc/systbl.h
> +++ b/include/asm-powerpc/systbl.h
> @@ -308,3 +308,6 @@ COMPAT_SYS_SPU(move_pages)
>  SYSCALL_SPU(getcpu)
>  COMPAT_SYS(epoll_pwait)
>  COMPAT_SYS_SPU(utimensat)
> +COMPAT_SYS_SPU(signalfd)
> +COMPAT_SYS_SPU(timerfd)
> +SYSCALL_SPU(eventfd)

Just out of interest, what makes a syscall COMPAT_SYS_SPU vs  
SYSCALL_SPU?

- k





More information about the Linuxppc-dev mailing list