[Cbe-oss-dev] [PATCH 7/8] spufs: remove asmlinkage from do_spu_create

Sebastian Siewior cbe-oss-dev at ml.breakpoint.cc
Mon Aug 20 18:00:02 EST 2007


* Jeremy Kerr | 2007-08-20 15:25:00 [+0800]:

>do_spu_create doesn't need the asmlinkage qualifier; remove it.
>
>Signed-off-by: Jeremy Kerr <jk at ozlabs.org>
>
>---
> arch/powerpc/platforms/cell/spufs/syscalls.c |    4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/arch/powerpc/platforms/cell/spufs/syscalls.c b/arch/powerpc/platforms/cell/spufs/syscalls.c
>index 3d8c328..936e0a8 100644
>--- a/arch/powerpc/platforms/cell/spufs/syscalls.c
>+++ b/arch/powerpc/platforms/cell/spufs/syscalls.c
>@@ -76,8 +76,8 @@ asmlinkage long sys_spu_run(int fd, __u32 __user *unpc, __u32 __user *ustatus)
> }
> #endif
> 
>-static asmlinkage long do_spu_create(const char __user *pathname,
>-		unsigned int flags, mode_t mode, struct file *neighbor)
>+static long do_spu_create(const char __user *pathname, unsigned int flags,
>+		mode_t mode, struct file *neighbor)
> {
> 	char *tmp;
> 	int ret;

Shouldn't you remove the asmlinkage from the declaration of
struct spufs_calls in include/asm-powerpc/spu.h as well?

Sebastian



More information about the cbe-oss-dev mailing list