diff options
author | Julien Thierry <julien.thierry@arm.com> | 2018-09-11 10:12:05 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-10-05 10:51:15 +0100 |
commit | 73839798af7ebc6c8d0c9271ebbbc148700e521f (patch) | |
tree | a94c6eb00e0314eea36b34e05542b82a245f5eed /arch/arm64/kernel/module.c | |
parent | 5ca451cf6ed04443774bbb7ee45332dafa42e99f (diff) | |
download | linux-stable-73839798af7ebc6c8d0c9271ebbbc148700e521f.tar.gz linux-stable-73839798af7ebc6c8d0c9271ebbbc148700e521f.tar.bz2 linux-stable-73839798af7ebc6c8d0c9271ebbbc148700e521f.zip |
ARM: 8790/1: signal: always use __copy_to_user to save iwmmxt context
When setting a dummy iwmmxt context, create a local instance and
use __copy_to_user both cases whether iwmmxt is being used or not.
This has the benefit of disabling/enabling PAN once for the whole copy
intead of once per write.
Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm64/kernel/module.c')
0 files changed, 0 insertions, 0 deletions