]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
avr32: fix copy_from_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 9 Sep 2016 23:28:23 +0000 (19:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Sep 2016 08:09:38 +0000 (10:09 +0200)
commitd4b8c2e5a2a5b0d9cf6cbd45c380641ee784b011
tree4f51159b81e71d2c86f2bca0b4d1bbd4a9abcf91
parent42e3ee6d94fadc28c5a9ff63bc3eed683e1efe03
avr32: fix copy_from_user()

commit 8630c32275bac2de6ffb8aea9d9b11663e7ad28e upstream.

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.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/avr32/include/asm/uaccess.h
arch/avr32/kernel/avr32_ksyms.c
arch/avr32/lib/copy_user.S