Skip to content

Commit

Permalink
asm-generic: hook up new system calls
Browse files Browse the repository at this point in the history
sys_rt_tgsigqueueinfo and sys_perf_counter_open
have been added in 2.6.31, so hook them up in the
generic unistd.h file.

Since the file is now in the mainline kernel, we
are no longer reordering the numbers but just add
system calls at the end.

Signed-off-by: Arnd Bergmann <[email protected]>
  • Loading branch information
arndb committed Jun 19, 2009
1 parent 1527aab commit fcec9bf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/asm-generic/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -618,8 +618,13 @@ __SYSCALL(__NR_migrate_pages, sys_migrate_pages)
__SYSCALL(__NR_move_pages, sys_move_pages)
#endif

#define __NR_rt_tgsigqueueinfo 240
__SYSCALL(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo)
#define __NR_perf_counter_open 241
__SYSCALL(__NR_perf_counter_open, sys_perf_counter_open)

#undef __NR_syscalls
#define __NR_syscalls 240
#define __NR_syscalls 242

/*
* All syscalls below here should go away really,
Expand Down

0 comments on commit fcec9bf

Please sign in to comment.