diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-28 13:51:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-28 13:51:01 -0400 |
commit | 571503e10045c89af951962ea0bb783482663aad (patch) | |
tree | b24af1e4b5c67e2da940991b8219f8f8c4e7ac0a /arch/mn10300 | |
parent | 29a6ccca3869bbe33879dae0cd7df2a1559eff54 (diff) | |
parent | 7b21fddd087678a70ad64afc0f632e0f1071b092 (diff) |
Merge branch 'setns'
* setns:
ns: Wire up the setns system call
Done as a merge to make it easier to fix up conflicts in arm due to
addition of sendmmsg system call
Diffstat (limited to 'arch/mn10300')
-rw-r--r-- | arch/mn10300/include/asm/unistd.h | 3 | ||||
-rw-r--r-- | arch/mn10300/kernel/entry.S | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/mn10300/include/asm/unistd.h b/arch/mn10300/include/asm/unistd.h index 9d056f515929..9051f921cbc7 100644 --- a/arch/mn10300/include/asm/unistd.h +++ b/arch/mn10300/include/asm/unistd.h | |||
@@ -349,10 +349,11 @@ | |||
349 | #define __NR_rt_tgsigqueueinfo 336 | 349 | #define __NR_rt_tgsigqueueinfo 336 |
350 | #define __NR_perf_event_open 337 | 350 | #define __NR_perf_event_open 337 |
351 | #define __NR_recvmmsg 338 | 351 | #define __NR_recvmmsg 338 |
352 | #define __NR_setns 339 | ||
352 | 353 | ||
353 | #ifdef __KERNEL__ | 354 | #ifdef __KERNEL__ |
354 | 355 | ||
355 | #define NR_syscalls 339 | 356 | #define NR_syscalls 340 |
356 | 357 | ||
357 | /* | 358 | /* |
358 | * specify the deprecated syscalls we want to support on this arch | 359 | * specify the deprecated syscalls we want to support on this arch |
diff --git a/arch/mn10300/kernel/entry.S b/arch/mn10300/kernel/entry.S index fb93ad720b82..ae435e1d5669 100644 --- a/arch/mn10300/kernel/entry.S +++ b/arch/mn10300/kernel/entry.S | |||
@@ -759,6 +759,7 @@ ENTRY(sys_call_table) | |||
759 | .long sys_rt_tgsigqueueinfo | 759 | .long sys_rt_tgsigqueueinfo |
760 | .long sys_perf_event_open | 760 | .long sys_perf_event_open |
761 | .long sys_recvmmsg | 761 | .long sys_recvmmsg |
762 | .long sys_setns | ||
762 | 763 | ||
763 | 764 | ||
764 | nr_syscalls=(.-sys_call_table)/4 | 765 | nr_syscalls=(.-sys_call_table)/4 |