[PATCH] ppc64: inotify syscalls

inotify system call support for PPC64

[ I don't think we need sys32 compatibility versions--and if we do, I
failed in life. ]

Signed-off-by: Robert Love <rml@novell.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Robert Love and committed by Linus Torvalds 5fa918b4 141d751e

+10 -1
+6
arch/ppc64/kernel/misc.S
··· 1129 .llong .compat_sys_waitid 1130 .llong .sys32_ioprio_set 1131 .llong .sys32_ioprio_get 1132 1133 .balign 8 1134 _GLOBAL(sys_call_table) ··· 1410 .llong .sys_waitid 1411 .llong .sys_ioprio_set 1412 .llong .sys_ioprio_get
··· 1129 .llong .compat_sys_waitid 1130 .llong .sys32_ioprio_set 1131 .llong .sys32_ioprio_get 1132 + .llong .sys_inotify_init /* 275 */ 1133 + .llong .sys_inotify_add_watch 1134 + .llong .sys_inotify_rm_watch 1135 1136 .balign 8 1137 _GLOBAL(sys_call_table) ··· 1407 .llong .sys_waitid 1408 .llong .sys_ioprio_set 1409 .llong .sys_ioprio_get 1410 + .llong .sys_inotify_init /* 275 */ 1411 + .llong .sys_inotify_add_watch 1412 + .llong .sys_inotify_rm_watch
+4 -1
include/asm-ppc64/unistd.h
··· 285 #define __NR_waitid 272 286 #define __NR_ioprio_set 273 287 #define __NR_ioprio_get 274 288 289 - #define __NR_syscalls 275 290 #ifdef __KERNEL__ 291 #define NR_syscalls __NR_syscalls 292 #endif
··· 285 #define __NR_waitid 272 286 #define __NR_ioprio_set 273 287 #define __NR_ioprio_get 274 288 + #define __NR_inotify_init 275 289 + #define __NR_inotify_add_watch 276 290 + #define __NR_inotify_rm_watch 277 291 292 + #define __NR_syscalls 278 293 #ifdef __KERNEL__ 294 #define NR_syscalls __NR_syscalls 295 #endif