diff options
author | Nicolas Pitre <nico@cam.org> | 2005-11-01 19:52:24 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-01 19:52:24 +0000 |
commit | fadab0943d1c5b652a66858bb99b204fedaad96b (patch) | |
tree | ae8f83cd0b6c97ee2120688f3e4f4cfd431b0c3e /fs | |
parent | 7549423000fc38d39a8b81c601dea0332c113a42 (diff) | |
download | kernel_samsung_crespo-fadab0943d1c5b652a66858bb99b204fedaad96b.zip kernel_samsung_crespo-fadab0943d1c5b652a66858bb99b204fedaad96b.tar.gz kernel_samsung_crespo-fadab0943d1c5b652a66858bb99b204fedaad96b.tar.bz2 |
[ARM] 2948/1: new preemption safe copy_{to|from}_user implementation
Patch from Nicolas Pitre
This patch provides a preemption safe implementation of copy_to_user
and copy_from_user based on the copy template also used for memcpy.
It is enabled unconditionally when CONFIG_PREEMPT=y. Otherwise if the
configured architecture is not ARMv3 then it is enabled as well as it
gives better performances at least on StrongARM and XScale cores. If
ARMv3 is not too affected or if it doesn't matter too much then
uaccess.S could be removed altogether.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions