diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-09-09 13:35:12 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-09-09 13:35:12 -0400 |
commit | 9b9eb8c06177f07657ad35440b56cbf68e1d253b (patch) | |
tree | 3a569d4f04c561e9daca4cc4f440e1f93fbd4dd1 /arch/arm/kernel/entry-common.S | |
parent | 35efb606e544403835df48cd240441a8e089c80b (diff) |
[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/entry-common.S')
-rw-r--r-- | arch/arm/kernel/entry-common.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S index 6281d488ac97..db302c6e5343 100644 --- a/arch/arm/kernel/entry-common.S +++ b/arch/arm/kernel/entry-common.S | |||
@@ -269,6 +269,10 @@ sys_arm_fadvise64_64_wrapper: | |||
269 | str r5, [sp, #4] @ push r5 to stack | 269 | str r5, [sp, #4] @ push r5 to stack |
270 | b sys_arm_fadvise64_64 | 270 | b sys_arm_fadvise64_64 |
271 | 271 | ||
272 | sys_mbind_wrapper: | ||
273 | str r5, [sp, #4] | ||
274 | b sys_mbind | ||
275 | |||
272 | /* | 276 | /* |
273 | * Note: off_4k (r5) is always units of 4K. If we can't do the requested | 277 | * Note: off_4k (r5) is always units of 4K. If we can't do the requested |
274 | * offset, we return EINVAL. | 278 | * offset, we return EINVAL. |