Skip to content

Commit

Permalink
MN10300: Wire up new syscalls
Browse files Browse the repository at this point in the history
Wire up new syscalls rt_tgsigqueueinfo and perf_counter_open.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
David Howells authored and Linus Torvalds committed Jul 1, 2009
1 parent aee3ff1 commit 6086071
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/mn10300/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -346,10 +346,12 @@
#define __NR_inotify_init1 333
#define __NR_preadv 334
#define __NR_pwritev 335
#define __NR_rt_tgsigqueueinfo 336
#define __NR_perf_counter_open 337

#ifdef __KERNEL__

#define NR_syscalls 326
#define NR_syscalls 338

/*
* specify the deprecated syscalls we want to support on this arch
Expand Down
2 changes: 2 additions & 0 deletions arch/mn10300/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,8 @@ ENTRY(sys_call_table)
.long sys_inotify_init1
.long sys_preadv
.long sys_pwritev /* 335 */
.long sys_rt_tgsigqueueinfo
.long sys_perf_counter_open


nr_syscalls=(.-sys_call_table)/4

0 comments on commit 6086071

Please sign in to comment.