diff options
author | Nicolas Pitre <nico@cam.org> | 2005-11-01 14:52:24 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-01 14:52:24 -0500 |
commit | fadab0943d1c5b652a66858bb99b204fedaad96b (patch) | |
tree | ae8f83cd0b6c97ee2120688f3e4f4cfd431b0c3e /include | |
parent | 7549423000fc38d39a8b81c601dea0332c113a42 (diff) |
[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 'include')
0 files changed, 0 insertions, 0 deletions