diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-07 07:58:19 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-10-04 19:26:43 +0200 |
commit | 931de11f5a374748f1d620ee17810dedf13c9f69 (patch) | |
tree | ac81211b04fe24c53009ded77ee3b3ec8f4639db /include/asm-generic/cacheflush.h | |
parent | uaccess: provide a generic TASK_SIZE_MAX definition (diff) | |
download | linux-931de11f5a374748f1d620ee17810dedf13c9f69.tar.xz linux-931de11f5a374748f1d620ee17810dedf13c9f69.zip |
asm-generic: improve the nommu {get,put}_user handling
Instead of reusing raw_{copy,to}_from_user implement separate handlers
using {get,put}_unaligned. This ensures unaligned access is handled
correctly, and avoid the need for the small constant size optimization
in raw_{copy,to}_from_user.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'include/asm-generic/cacheflush.h')
0 files changed, 0 insertions, 0 deletions