]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sparc64: Fix __copy_{to,from}_user_inatomic defines.
authorHugh Dickins <hugh@veritas.com>
Sun, 2 Nov 2008 04:41:40 +0000 (21:41 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 13 Dec 2008 23:29:13 +0000 (15:29 -0800)
commit8067dfc2222e797ff8c6a3713d4ac5559d25ab1e
treef1c53347f49a487c50e323f792663daf86257455
parent6a42ebd5cf9a62212017fe944d0eea2a9af29981
sparc64: Fix __copy_{to,from}_user_inatomic defines.

[ Upstream commit b270ee8a9fc9547eb781ce9ccd379450bcf9a204 ]

Alexander Beregalov reports oops in __bzero() called from
copy_from_user_fixup() called from iov_iter_copy_from_user_atomic(),
when running dbench on tmpfs on sparc64: its __copy_from_user_inatomic
and __copy_to_user_inatomic should be avoiding, not calling, the fixups.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sparc/include/asm/uaccess_64.h