Commit 3f68f599 authored by Russell King's avatar Russell King

[ARM] Add missing __user annotations to sys_clone()

Signed-off-by: default avatarRussell King <rmk@arm.linux.org.uk>
parent 570f1d8b
......@@ -242,8 +242,8 @@ asmlinkage int sys_fork(struct pt_regs *regs)
* This is called indirectly via a small wrapper
*/
asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp,
int *parent_tidptr, int tls_val, int *child_tidptr,
struct pt_regs *regs)
int __user *parent_tidptr, int tls_val,
int __user *child_tidptr, struct pt_regs *regs)
{
if (!newsp)
newsp = regs->ARM_sp;
......
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