]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
spu_run.2: SYNOPSIS: Fix prototype parameter types
authorAlejandro Colomar <alx.manpages@gmail.com>
Mon, 15 Feb 2021 13:15:22 +0000 (14:15 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 15 Feb 2021 19:57:56 +0000 (20:57 +0100)
The 2nd and 3rd parameters of spu_run() use 'uint32_t *'.  Fix it.

......

.../linux$ grep_syscall spu_run
arch/powerpc/platforms/cell/spu_syscalls.c:80:
SYSCALL_DEFINE3(spu_run,int, fd, __u32 __user *, unpc, __u32 __user *, ustatus)
include/linux/syscalls.h:1034:
asmlinkage long sys_spu_run(int fd, __u32 __user *unpc,
 __u32 __user *ustatus);
.../linux$

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/spu_run.2

index fb18797596c1a8693d93b37f5abb02d41bf821b3..8b2a64ebb6556ea58ad8021f2794aeb84a789df1 100644 (file)
@@ -30,8 +30,7 @@ spu_run \- execute an SPU context
 .nf
 .B #include <sys/spu.h>
 .PP
-.BI "int spu_run(int " fd ", unsigned int *" npc \
-", unsigned int *" event ");"
+.BI "int spu_run(int " fd ", uint32_t *" npc ", uint32_t *" event );
 .fi
 .PP
 .IR Note :