[PATCH] sys_indirect kernel implementation for PowerPC
Stephen Rothwell
sfr at canb.auug.org.au
Wed Nov 21 14:42:45 EST 2007
On Wed, 21 Nov 2007 14:08:46 +1100 Paul Mackerras <paulus at samba.org> wrote:
>
> +#ifdef CONFIG_PPC64
Use CONFIG_COMPAT?
> +struct indirect_registers32 {
> + unsigned int syscall_nr;
> + unsigned int args[6];
These could (should?) be compat_ulong_t
> +++ b/include/asm-powerpc/systbl.h
> @@ -313,3 +313,4 @@ COMPAT_SYS_SPU(timerfd)
> SYSCALL_SPU(eventfd)
> COMPAT_SYS_SPU(sync_file_range2)
> COMPAT_SYS(fallocate)
> +COMPAT_SYS(indirect)
Do the SPUs want this?
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20071121/8c8104af/attachment.pgp>
More information about the Linuxppc-dev
mailing list