Skip to content

Commit

Permalink
[ARM] Add syscall stubs for inotify and ioprio system calls
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Love <rml@novell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Robert Love authored and Russell King committed Aug 15, 2005
1 parent 2ba8468 commit 498de0c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/kernel/calls.S
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,12 @@ __syscall_start:
/* 310 */ .long sys_request_key
.long sys_keyctl
.long sys_semtimedop
/* vserver */ .long sys_ni_syscall
.long sys_ioprio_set
/* 315 */ .long sys_ioprio_get
.long sys_inotify_init
.long sys_inotify_add_watch
.long sys_inotify_rm_watch
__syscall_end:

.rept NR_syscalls - (__syscall_end - __syscall_start) / 4
Expand Down
5 changes: 5 additions & 0 deletions include/asm-arm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,11 @@
#endif

#define __NR_vserver (__NR_SYSCALL_BASE+313)
#define __NR_ioprio_set (__NR_SYSCALL_BASE+314)
#define __NR_ioprio_get (__NR_SYSCALL_BASE+315)
#define __NR_inotify_init (__NR_SYSCALL_BASE+316)
#define __NR_inotify_add_watch (__NR_SYSCALL_BASE+317)
#define __NR_inotify_rm_watch (__NR_SYSCALL_BASE+318)

/*
* The following SWIs are ARM private.
Expand Down

0 comments on commit 498de0c

Please sign in to comment.