diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2018-05-14 15:33:14 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2018-05-22 10:31:52 +0200 |
commit | 7124330dabe5b3cb3bdfaa31cf584e1709b16fc3 (patch) | |
tree | 4dcccd2768987e68e1f076606be835f962e1f7dc /arch/m68k/configs/mvme147_defconfig | |
parent | d8441ba80c55aad435e4b98fe0d7ad5d21e46bf9 (diff) | |
download | blackbird-op-linux-7124330dabe5b3cb3bdfaa31cf584e1709b16fc3.tar.gz blackbird-op-linux-7124330dabe5b3cb3bdfaa31cf584e1709b16fc3.zip |
m68k/uaccess: Revive 64-bit get_user()
Revive support for 64-bit get_user(), which was disabled in commit
d94af931af42152e ("[PATCH] m68k: clean up uaccess.h") due to a "broken"
typeof in (then brand new) gcc-4.1.
- Keep on using u64 for the temporary, as __typeof__() doesn't drop
the const qualifier,
- Move it into a union (like mips32 does) to get rid of the cast, as
using get_user() to fetch a __user pointer would cause a "cast to
pointer from integer of different size" warning otherwise.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Martijn Coenen <maco@android.com>
Diffstat (limited to 'arch/m68k/configs/mvme147_defconfig')
0 files changed, 0 insertions, 0 deletions