]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[POWERPC] Alignment exception uses __get/put_user_inatomic
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Apr 2007 06:13:19 +0000 (16:13 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 12 Apr 2007 18:09:38 +0000 (04:09 +1000)
commite4ee3891db35aa9a069bb403c2a66a8fbfa274d6
treec2c16d53c70e14e786b7d5a5722d38590fb4d7d2
parente68c825bb016703eda94aac99be96de73b482d61
[POWERPC] Alignment exception uses __get/put_user_inatomic

Make the alignment exception handler use the new _inatomic variants
of __get/put_user. This fixes erroneous warnings in the very rare
cases where we manage to have copy_tofrom_user_inatomic() trigger
an alignment exception.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
 arch/powerpc/kernel/align.c |   56 ++++++++++++++++++++++++--------------------
 1 file changed, 31 insertions(+), 25 deletions(-)
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/align.c