commit | 609355dfc88e2921bfcbd879300d482a9a33378e | [log] [tgz] |
---|---|---|
author | Christopher M. Riedl <cmr@codefail.de> | Fri Feb 26 19:12:51 2021 -0600 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Mar 29 12:49:46 2021 +1100 |
tree | afb41ec87ec21fa342cc886019dc79871e668c62 | |
parent | 9466c1799fa2acb68e505a264dcdf53779101ac6 [diff] |
powerpc/signal: Add unsafe_copy_{vsx, fpr}_from_user() Reuse the "safe" implementation from signal.c but call unsafe_get_user() directly in a loop to avoid the intermediate copy into a local buffer. Signed-off-by: Christopher M. Riedl <cmr@codefail.de> Reviewed-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210227011259.11992-3-cmr@codefail.de