From: Markos Chandras Date: Wed, 22 Jan 2014 14:39:57 +0000 (+0000) Subject: MIPS: asm: syscall: Fix copying system call arguments X-Git-Tag: v3.14-rc8~19^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8031d2ce15bdb90baeae02d7a231ccece73da8b;p=pandora-kernel.git MIPS: asm: syscall: Fix copying system call arguments The syscall_get_arguments function expects the arguments to be copied to the '*args' argument but instead a local variable was used to hold the system call argument. As a result of which, this variable was never passed to the filter and any filter testing the system call arguments would fail. This is fixed by passing the '*args' variable as the destination memory for the system call arguments. Signed-off-by: Markos Chandras Reviewed-by: Paul Burton Reviewed-by: James Hogan Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6402/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed