From: Benjamin Herrenschmidt Date: Wed, 11 Apr 2007 06:13:19 +0000 (+1000) Subject: [POWERPC] Alignment exception uses __get/put_user_inatomic X-Git-Tag: v2.6.22-rc1~1109^2~81 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4ee3891db35aa9a069bb403c2a66a8fbfa274d6;p=pandora-kernel.git [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 arch/powerpc/kernel/align.c | 56 ++++++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 25 deletions(-) Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed