summaryrefslogtreecommitdiffstats
path: root/include/asm-arm26
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-05-20 16:50:55 +1000
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-20 07:54:10 -0700
commit72480ef863740c3dc301b0803c9ed6d10716aa11 (patch)
tree958a49f87b40c6a208d95f85e5e93f2f39b77d3d /include/asm-arm26
parent3207a80a6e11c7ceff7e46d5ec6bfcc03c14e729 (diff)
downloadop-kernel-dev-72480ef863740c3dc301b0803c9ed6d10716aa11.zip
op-kernel-dev-72480ef863740c3dc301b0803c9ed6d10716aa11.tar.gz
[PATCH] ppc32: Fix __copy_tofrom_user return value
Recently the __copy_tofrom_user routine was modified to avoid doing prefetches past the end of the source array. However, in doing so we introduced a bug in that it now returns the wrong value for the number of bytes not copied when a fault is encountered. This fixes it to return the correct number. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-arm26')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud