diff options
| author | Christoph Hellwig <[email protected]> | 2020-09-07 07:58:19 +0200 | 
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2020-10-04 10:26:43 -0700 | 
| commit | 931de11f5a374748f1d620ee17810dedf13c9f69 (patch) | |
| tree | ac81211b04fe24c53009ded77ee3b3ec8f4639db /drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | |
| parent | 24ce66c04a06a678f156cf575128246f3d214b4a (diff) | |
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 <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c')
0 files changed, 0 insertions, 0 deletions