diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-09-09 18:35:12 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-09-09 18:35:12 +0100 |
commit | 9b9eb8c06177f07657ad35440b56cbf68e1d253b (patch) | |
tree | 3a569d4f04c561e9daca4cc4f440e1f93fbd4dd1 /arch/arm/kernel | |
parent | 35efb606e544403835df48cd240441a8e089c80b (diff) | |
download | kernel_samsung_smdk4412-9b9eb8c06177f07657ad35440b56cbf68e1d253b.zip kernel_samsung_smdk4412-9b9eb8c06177f07657ad35440b56cbf68e1d253b.tar.gz kernel_samsung_smdk4412-9b9eb8c06177f07657ad35440b56cbf68e1d253b.tar.bz2 |
[ARM] sys_mbind needs wrapping
sys_mbind is a 6-arg syscall, hence needs wrapping to save the
sixth argument.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/calls.S | 2 | ||||
-rw-r--r-- | arch/arm/kernel/entry-common.S | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index cc89a73..949ec44 100644 --- a/arch/arm/kernel/calls.S +++ b/arch/arm/kernel/calls.S @@ -333,7 +333,7 @@ __syscall_start: .long sys_inotify_init .long sys_inotify_add_watch .long sys_inotify_rm_watch - .long sys_mbind + .long sys_mbind_wrapper /* 320 */ .long sys_get_mempolicy .long sys_set_mempolicy __syscall_end: diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S index 6281d48..db302c6 100644 --- a/arch/arm/kernel/entry-common.S +++ b/arch/arm/kernel/entry-common.S @@ -269,6 +269,10 @@ sys_arm_fadvise64_64_wrapper: str r5, [sp, #4] @ push r5 to stack b sys_arm_fadvise64_64 +sys_mbind_wrapper: + str r5, [sp, #4] + b sys_mbind + /* * Note: off_4k (r5) is always units of 4K. If we can't do the requested * offset, we return EINVAL. |