summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/changebit.S
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2009-03-09 03:34:45 +0100
committerNicolas Pitre <nico@cam.org>2009-05-30 04:34:45 +0200
commita1f98849fdf2f2fef3ef1c260178cd5fc662b773 (patch)
tree2d6825bc4a9a1eaaaaa7295c337c47b899bc7d72 /arch/arm/lib/changebit.S
parentLinux 2.6.30-rc7 (diff)
downloadlinux-a1f98849fdf2f2fef3ef1c260178cd5fc662b773.tar.xz
linux-a1f98849fdf2f2fef3ef1c260178cd5fc662b773.zip
[ARM] allow for alternative __copy_to_user/__clear_user implementations
This allows for optional alternative implementations of __copy_to_user and __clear_user, with a possible runtime fallback to the standard version when the alternative provides no gain over that standard version. This is done by making the standard __copy_to_user into a weak alias for the symbol __copy_to_user_std. Same thing for __clear_user. Those two functions are particularly good candidates to have alternative implementations for, since they rely on the STRT instruction which has lower performances than STM instructions on some CPU cores such as the ARM1176 and Marvell Feroceon. Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/lib/changebit.S')
0 files changed, 0 insertions, 0 deletions