Commit 9b9eb8c0 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] sys_mbind needs wrapping

sys_mbind is a 6-arg syscall, hence needs wrapping to save the
sixth argument.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 35efb606
...@@ -333,7 +333,7 @@ __syscall_start: ...@@ -333,7 +333,7 @@ __syscall_start:
.long sys_inotify_init .long sys_inotify_init
.long sys_inotify_add_watch .long sys_inotify_add_watch
.long sys_inotify_rm_watch .long sys_inotify_rm_watch
.long sys_mbind .long sys_mbind_wrapper
/* 320 */ .long sys_get_mempolicy /* 320 */ .long sys_get_mempolicy
.long sys_set_mempolicy .long sys_set_mempolicy
__syscall_end: __syscall_end:
......
...@@ -269,6 +269,10 @@ sys_arm_fadvise64_64_wrapper: ...@@ -269,6 +269,10 @@ sys_arm_fadvise64_64_wrapper:
str r5, [sp, #4] @ push r5 to stack str r5, [sp, #4] @ push r5 to stack
b sys_arm_fadvise64_64 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 * Note: off_4k (r5) is always units of 4K. If we can't do the requested
* offset, we return EINVAL. * offset, we return EINVAL.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment