]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Fix zeroing on exception in copy_*_user
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:39 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:39 +0000 (10:52 +0200)
commit3022d734a54cbd2b65eea9a024564821101b4a9a
treea1445aeaf8fbdf84898c8cdc13dd98c550b5be0f
parentf0f4c3432e5e1087b3a8c0e6bd4113d3c37497ff
[PATCH] Fix zeroing on exception in copy_*_user

- Don't zero for __copy_from_user_inatomic following i386.
This will prevent spurious zeros for parallel file system writers when
one does a exception
- The string instruction version didn't zero the output on
exception. Oops.

Also I cleaned up the code a bit while I was at it and added a minor
optimization to the string instruction path.

Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/x8664_ksyms.c
arch/x86_64/lib/copy_user.S
include/asm-x86_64/uaccess.h