binfmt_flat: use generic transfer_args_to_stack()
authorNicolas Pitre <nicolas.pitre@linaro.org>
Sun, 24 Jul 2016 15:30:19 +0000 (11:30 -0400)
committerGreg Ungerer <gerg@linux-m68k.org>
Mon, 25 Jul 2016 06:51:55 +0000 (16:51 +1000)
commit687fd7738ec322ea5994a692c20301eed315899d
treebdbca358cf5dce78311da66c08397a1d8ba3580e
parent7e7ec6a934349ef6983f06f7ac0da09cc8a42983
binfmt_flat: use generic transfer_args_to_stack()

This gets rid of the rather ugly, open coded and suboptimal copy code.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Reviewed-by: Greg Ungerer <gerg@linux-m68k.org>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
fs/binfmt_flat.c