aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-03-18 04:05:23 -0400
committerMike Frysinger <vapier@gentoo.org>2011-03-18 04:05:25 -0400
commita8d0142fb7e31a11919ef2d45d6f43e0f225f568 (patch)
tree2b9fd6d349b3f4958b160ad89121cf89f8112054
parent1353d050facf5efd8dc05ba6c4d7852fcb423b15 (diff)
Blackfin: wire up new syscalls
Hook up name_to_handle_at, open_by_handle_at, and clock_adjtime. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--arch/blackfin/include/asm/unistd.h5
-rw-r--r--arch/blackfin/mach-common/entry.S3
2 files changed, 7 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/unistd.h b/arch/blackfin/include/asm/unistd.h
index 928ae975b87e..c97497dd0d19 100644
--- a/arch/blackfin/include/asm/unistd.h
+++ b/arch/blackfin/include/asm/unistd.h
@@ -393,8 +393,11 @@
393#define __NR_fanotify_mark 372 393#define __NR_fanotify_mark 372
394#define __NR_prlimit64 373 394#define __NR_prlimit64 373
395#define __NR_cacheflush 374 395#define __NR_cacheflush 374
396#define __NR_name_to_handle_at 375
397#define __NR_open_by_handle_at 376
398#define __NR_clock_adjtime 377
396 399
397#define __NR_syscall 375 400#define __NR_syscall 378
398#define NR_syscalls __NR_syscall 401#define NR_syscalls __NR_syscall
399 402
400/* Old optional stuff no one actually uses */ 403/* Old optional stuff no one actually uses */
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S
index 4845d51e88a6..757943f620e7 100644
--- a/arch/blackfin/mach-common/entry.S
+++ b/arch/blackfin/mach-common/entry.S
@@ -1749,6 +1749,9 @@ ENTRY(_sys_call_table)
1749 .long _sys_fanotify_mark 1749 .long _sys_fanotify_mark
1750 .long _sys_prlimit64 1750 .long _sys_prlimit64
1751 .long _sys_cacheflush 1751 .long _sys_cacheflush
1752 .long _sys_name_to_handle_at /* 375 */
1753 .long _sys_open_by_handle_at
1754 .long _sys_clock_adjtime
1752 1755
1753 .rept NR_syscalls-(.-_sys_call_table)/4 1756 .rept NR_syscalls-(.-_sys_call_table)/4
1754 .long _sys_ni_syscall 1757 .long _sys_ni_syscall