OSDN Git Service

x86: ia32_setup_frame(): consolidate uaccess areas
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Feb 2020 00:36:40 +0000 (19:36 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 26 Mar 2020 18:39:38 +0000 (14:39 -0400)
commite2390741053e4931841650b5eadac32697aa88aa
treed7c1de71bce8054fc02f8ad0900ed46dba393e68
parent44a1d996325982025eefcdc50b636ab83e813372
x86: ia32_setup_frame(): consolidate uaccess areas

Currently we have user_access block, followed by __put_user(),
deciding what the restorer will be and finally a put_user_try
block.

Moving the calculation of restorer first allows the rest
(actual copyout work) to coalesce into a single user_access block.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/x86/ia32/ia32_signal.c