Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] powerpc: wire up sys_[gs]et_robust_list

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Paul Mackerras <paulus@samba.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

David Woodhouse and committed by
Linus Torvalds
0f041082 b471f554

+13 -1
+2
arch/powerpc/kernel/systbl.S
··· 338 338 SYSCALL(readlinkat) 339 339 SYSCALL(fchmodat) 340 340 SYSCALL(faccessat) 341 + COMPAT_SYS(get_robust_list) 342 + COMPAT_SYS(set_robust_list) 341 343 342 344 /* 343 345 * please add new calls to arch/powerpc/platforms/cell/spu_callbacks.c
+2
arch/powerpc/platforms/cell/spu_callbacks.c
··· 333 333 [__NR_readlinkat] sys_readlinkat, 334 334 [__NR_fchmodat] sys_fchmodat, 335 335 [__NR_faccessat] sys_faccessat, 336 + [__NR_get_robust_list] sys_get_robust_list, 337 + [__NR_set_robust_list] sys_set_robust_list, 336 338 }; 337 339 338 340 long spu_sys_callback(struct spu_syscall_block *s)
+3 -1
include/asm-powerpc/unistd.h
··· 321 321 #define __NR_readlinkat 296 322 322 #define __NR_fchmodat 297 323 323 #define __NR_faccessat 298 324 + #define __NR_get_robust_list 299 325 + #define __NR_set_robust_list 300 324 326 325 - #define __NR_syscalls 299 327 + #define __NR_syscalls 301 326 328 327 329 #ifdef __KERNEL__ 328 330 #define __NR__exit __NR_exit
+6
include/linux/syscalls.h
··· 52 52 struct mq_attr; 53 53 struct compat_stat; 54 54 struct compat_timeval; 55 + struct robust_list_head; 55 56 56 57 #include <linux/config.h> 57 58 #include <linux/types.h> ··· 582 581 583 582 asmlinkage long sys_sync_file_range(int fd, loff_t offset, loff_t nbytes, 584 583 unsigned int flags); 584 + asmlinkage long sys_get_robust_list(int pid, 585 + struct robust_list_head __user **head_ptr, 586 + size_t __user *len_ptr); 587 + asmlinkage long sys_set_robust_list(struct robust_list_head __user *head, 588 + size_t len); 585 589 586 590 #endif