diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-04-11 16:13:19 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-13 04:09:38 +1000 |
commit | e4ee3891db35aa9a069bb403c2a66a8fbfa274d6 (patch) | |
tree | c2c16d53c70e14e786b7d5a5722d38590fb4d7d2 /arch/powerpc/kernel/smp.c | |
parent | e68c825bb016703eda94aac99be96de73b482d61 (diff) |
[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>
Diffstat (limited to 'arch/powerpc/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions