diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-10 01:28:23 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-13 23:50:18 +0200 |
commit | 8630c32275bac2de6ffb8aea9d9b11663e7ad28e (patch) | |
tree | 93800a44bb196d8eb11b2ae0d7d2a810dc0883dd /arch/avr32/kernel/avr32_ksyms.c | |
parent | microblaze: fix __get_user() (diff) | |
download | linux-8630c32275bac2de6ffb8aea9d9b11663e7ad28e.tar.xz linux-8630c32275bac2de6ffb8aea9d9b11663e7ad28e.zip |
avr32: fix copy_from_user()
really ugly, but apparently avr32 compilers turns access_ok() into
something so bad that they want it in assembler. Left that way,
zeroing added in inline wrapper.
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/avr32/kernel/avr32_ksyms.c')
-rw-r--r-- | arch/avr32/kernel/avr32_ksyms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/kernel/avr32_ksyms.c b/arch/avr32/kernel/avr32_ksyms.c index d93ead02daed..7c6cf14f0985 100644 --- a/arch/avr32/kernel/avr32_ksyms.c +++ b/arch/avr32/kernel/avr32_ksyms.c @@ -36,7 +36,7 @@ EXPORT_SYMBOL(copy_page); /* * Userspace access stuff. */ -EXPORT_SYMBOL(copy_from_user); +EXPORT_SYMBOL(___copy_from_user); EXPORT_SYMBOL(copy_to_user); EXPORT_SYMBOL(__copy_user); EXPORT_SYMBOL(strncpy_from_user); |