Re: [PATCH] m68k/uaccess: Revive 64-bit get_user()

2018-05-14 Thread Martijn Coenen
On Mon, May 14, 2018 at 3:57 PM, Geert Uytterhoeven wrote: > 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__

[PATCH] m68k/uaccess: Revive 64-bit get_user()

2018-05-14 Thread Geert Uytterhoeven
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 (li