summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/uaccess.h
diff options
context:
space:
mode:
authorVineet Gupta2013-01-18 10:42:16 +0100
committerVineet Gupta2013-02-11 15:30:32 +0100
commit05d88a493746819821733e07bed918a6e09f735b (patch)
tree59f1a8d8e291e62507b3b221240ee9b926e14ce7 /arch/arc/include/asm/uaccess.h
parentARC: uaccess friends (diff)
downloadkernel-qcow2-linux-05d88a493746819821733e07bed918a6e09f735b.tar.gz
kernel-qcow2-linux-05d88a493746819821733e07bed918a6e09f735b.tar.xz
kernel-qcow2-linux-05d88a493746819821733e07bed918a6e09f735b.zip
asm-generic: uaccess: Allow arches to over-ride __{get,put}_user_fn()
As of now these default to calling the arch provided __copy_{to,from}_user() routines which being general purpose (w.r.t buffer alignment and lengths) would lead to alignment checks in generated code (for arches which don't support unaligned load/stores). Given that in this case we already know that data involved is "unit" sized and aligned, using the vanilla copy backend is a bit wasteful. This change thus allows arches to over-ride the aforementioned routines. Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arc/include/asm/uaccess.h')
0 files changed, 0 insertions, 0 deletions