Hi Arnd, On Sat, May 8, 2021 at 12:10 AM Arnd Bergmann <arnd@xxxxxxxxxx> wrote: > From: Arnd Bergmann <arnd@xxxxxxxx> > > All supported CPUs other than the old dragonball use the Same comment about dragonball as for patch 01/12. > include/linux/unaligned/access_ok.h implementation for accessing unaligned > variables, so presumably this works everywhere. > > However, m68k never selects CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS, > so none of the other conditionals in the kernel get the optimized > implementation. > > Select this based on CPU_HAS_NO_UNALIGNED to make the two settings > always match, and then use the generic version of the header. > > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> > --- a/arch/m68k/Kconfig > +++ b/arch/m68k/Kconfig > @@ -22,6 +22,7 @@ config M68K > select HAVE_AOUT if MMU > select HAVE_ASM_MODVERSIONS > select HAVE_DEBUG_BUGVERBOSE > + select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED This was clearly forgotten in commit 58340a07c194e0ae ("introduce HAVE_EFFICIENT_UNALIGNED_ACCESS Kconfig symbol"), which predates the existence of CPU_HAS_NO_UNALIGNED. Reviewed-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds