Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5035
b: refs/heads/master
c: 725b38a
h: refs/heads/master
i:
  5033: 72c89d2
  5031: 773a9ad
v: v3
  • Loading branch information
Robert Love authored and Linus Torvalds committed Jul 26, 2005
1 parent 215215d commit aa86c37
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d25cb934b00436e2243bf3970793b8e04ad9b873
refs/heads/master: 725b38ab5401c73cedc1b1d913782fadcd0f624a
8 changes: 6 additions & 2 deletions trunk/arch/x86_64/ia32/ia32entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -591,11 +591,15 @@ ia32_sys_call_table:
.quad compat_sys_mq_getsetattr
.quad compat_sys_kexec_load /* reserved for kexec */
.quad compat_sys_waitid
.quad quiet_ni_syscall /* sys_altroot */
.quad quiet_ni_syscall /* 285: sys_altroot */
.quad sys_add_key
.quad sys_request_key
.quad sys_keyctl
/* don't forget to change IA32_NR_syscalls */
.quad sys_ioprio_set
.quad sys_ioprio_get /* 290 */
.quad sys_inotify_init
.quad sys_inotify_add_watch
.quad sys_inotify_rm_watch
ia32_syscall_end:
.rept IA32_NR_syscalls-(ia32_syscall_end-ia32_sys_call_table)/8
.quad ni_syscall
Expand Down
7 changes: 6 additions & 1 deletion trunk/include/asm-x86_64/ia32_unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,12 @@
#define __NR_ia32_add_key 286
#define __NR_ia32_request_key 287
#define __NR_ia32_keyctl 288
#define __NR_ia32_ioprio_set 289
#define __NR_ia32_ioprio_get 290
#define __NR_ia32_inotify_init 291
#define __NR_ia32_inotify_add_watch 292
#define __NR_ia32_inotify_rm_watch 293

#define IA32_NR_syscalls 290 /* must be > than biggest syscall! */
#define IA32_NR_syscalls 294 /* must be > than biggest syscall! */

#endif /* _ASM_X86_64_IA32_UNISTD_H_ */
10 changes: 8 additions & 2 deletions trunk/include/asm-x86_64/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,14 @@ __SYSCALL(__NR_keyctl, sys_keyctl)
__SYSCALL(__NR_ioprio_set, sys_ioprio_set)
#define __NR_ioprio_get 252
__SYSCALL(__NR_ioprio_get, sys_ioprio_get)

#define __NR_syscall_max __NR_ioprio_get
#define __NR_inotify_init 253
__SYSCALL(__NR_inotify_init, sys_inotify_init)
#define __NR_inotify_add_watch 254
__SYSCALL(__NR_inotify_add_watch, sys_inotify_add_watch)
#define __NR_inotify_rm_watch 255
__SYSCALL(__NR_inotify_rm_watch, sys_inotify_rm_watch)

#define __NR_syscall_max __NR_inotify_rm_watch
#ifndef __NO_STUBS

/* user-visible error numbers are in the range -1 - -4095 */
Expand Down

0 comments on commit aa86c37

Please sign in to comment.