diff options
author | Robert Love <rml@novell.com> | 2005-07-30 01:59:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-30 13:14:46 -0400 |
commit | 5fa918b451f625870cd4275ca908b2392ee86a51 (patch) | |
tree | a0341db93846bff4100a73a74a5c0df547ad69db | |
parent | 141d751e264c16db554f6681d84056ebde0e8078 (diff) |
[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>
-rw-r--r-- | arch/ppc64/kernel/misc.S | 6 | ||||
-rw-r--r-- | include/asm-ppc64/unistd.h | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/arch/ppc64/kernel/misc.S b/arch/ppc64/kernel/misc.S index 59f4f9973818..a05b50b738e9 100644 --- a/arch/ppc64/kernel/misc.S +++ b/arch/ppc64/kernel/misc.S | |||
@@ -1129,6 +1129,9 @@ _GLOBAL(sys_call_table32) | |||
1129 | .llong .compat_sys_waitid | 1129 | .llong .compat_sys_waitid |
1130 | .llong .sys32_ioprio_set | 1130 | .llong .sys32_ioprio_set |
1131 | .llong .sys32_ioprio_get | 1131 | .llong .sys32_ioprio_get |
1132 | .llong .sys_inotify_init /* 275 */ | ||
1133 | .llong .sys_inotify_add_watch | ||
1134 | .llong .sys_inotify_rm_watch | ||
1132 | 1135 | ||
1133 | .balign 8 | 1136 | .balign 8 |
1134 | _GLOBAL(sys_call_table) | 1137 | _GLOBAL(sys_call_table) |
@@ -1407,3 +1410,6 @@ _GLOBAL(sys_call_table) | |||
1407 | .llong .sys_waitid | 1410 | .llong .sys_waitid |
1408 | .llong .sys_ioprio_set | 1411 | .llong .sys_ioprio_set |
1409 | .llong .sys_ioprio_get | 1412 | .llong .sys_ioprio_get |
1413 | .llong .sys_inotify_init /* 275 */ | ||
1414 | .llong .sys_inotify_add_watch | ||
1415 | .llong .sys_inotify_rm_watch | ||
diff --git a/include/asm-ppc64/unistd.h b/include/asm-ppc64/unistd.h index 4a94acf6bfed..977bc980c1af 100644 --- a/include/asm-ppc64/unistd.h +++ b/include/asm-ppc64/unistd.h | |||
@@ -285,8 +285,11 @@ | |||
285 | #define __NR_waitid 272 | 285 | #define __NR_waitid 272 |
286 | #define __NR_ioprio_set 273 | 286 | #define __NR_ioprio_set 273 |
287 | #define __NR_ioprio_get 274 | 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 | ||
288 | 291 | ||
289 | #define __NR_syscalls 275 | 292 | #define __NR_syscalls 278 |
290 | #ifdef __KERNEL__ | 293 | #ifdef __KERNEL__ |
291 | #define NR_syscalls __NR_syscalls | 294 | #define NR_syscalls __NR_syscalls |
292 | #endif | 295 | #endif |