diff options
author | Robert Love <rml@novell.com> | 2005-07-30 01:59:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-30 13:14:46 -0400 |
commit | 141d751e264c16db554f6681d84056ebde0e8078 (patch) | |
tree | d9d1fbf8462ccbb6321e2ab8fddaf0a10dc18cb1 | |
parent | b0825488a642cadcf39709961dde61440cb0731c (diff) |
[PATCH] ppc32: inotify syscalls
Add inotify system call stubs to PPC32.
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/ppc/kernel/misc.S | 3 | ||||
-rw-r--r-- | include/asm-ppc/unistd.h | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/arch/ppc/kernel/misc.S b/arch/ppc/kernel/misc.S index 191a8def3bdb..c2fb85b49a11 100644 --- a/arch/ppc/kernel/misc.S +++ b/arch/ppc/kernel/misc.S | |||
@@ -1451,3 +1451,6 @@ _GLOBAL(sys_call_table) | |||
1451 | .long sys_waitid | 1451 | .long sys_waitid |
1452 | .long sys_ioprio_set | 1452 | .long sys_ioprio_set |
1453 | .long sys_ioprio_get | 1453 | .long sys_ioprio_get |
1454 | .long sys_inotify_init /* 275 */ | ||
1455 | .long sys_inotify_add_watch | ||
1456 | .long sys_inotify_rm_watch | ||
diff --git a/include/asm-ppc/unistd.h b/include/asm-ppc/unistd.h index a7894e0fbbb1..3173ab3d2eb9 100644 --- a/include/asm-ppc/unistd.h +++ b/include/asm-ppc/unistd.h | |||
@@ -279,8 +279,11 @@ | |||
279 | #define __NR_waitid 272 | 279 | #define __NR_waitid 272 |
280 | #define __NR_ioprio_set 273 | 280 | #define __NR_ioprio_set 273 |
281 | #define __NR_ioprio_get 274 | 281 | #define __NR_ioprio_get 274 |
282 | #define __NR_inotify_init 275 | ||
283 | #define __NR_inotify_add_watch 276 | ||
284 | #define __NR_inotify_rm_watch 277 | ||
282 | 285 | ||
283 | #define __NR_syscalls 275 | 286 | #define __NR_syscalls 278 |
284 | 287 | ||
285 | #define __NR(n) #n | 288 | #define __NR(n) #n |
286 | 289 | ||