linux/arch
Arnd Bergmann 3aec1db05d m68k: select CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
All supported CPUs other than the old dragonball and in theory other 68000
derivatives use the 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@arndb.de>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
2021-05-10 17:50:47 +02:00
..
alpha asm-generic: use asm-generic/unaligned.h for most architectures 2021-05-10 17:43:15 +02:00
arc mm: drop redundant HAVE_ARCH_TRANSPARENT_HUGEPAGE 2021-05-05 11:27:25 -07:00
arm Kbuild updates for v5.13 (2nd) 2021-05-08 10:00:11 -07:00
arm64 Assorted arm64 fixes and clean-ups, the most important: 2021-05-07 12:11:05 -07:00
csky arch/csky patches for 5.13-rc1 2021-05-03 12:58:31 -07:00
h8300 arch: rearrange headers inclusion order in asm/bitops for m68k, sh and h8300 2021-05-06 19:24:11 -07:00
hexagon Merge branch 'akpm' (patches from Andrew) 2021-05-07 00:34:51 -07:00
ia64 asm-generic: use asm-generic/unaligned.h for most architectures 2021-05-10 17:43:15 +02:00
m68k m68k: select CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS 2021-05-10 17:50:47 +02:00
microblaze asm-generic: use asm-generic/unaligned.h for most architectures 2021-05-10 17:43:15 +02:00
mips Kbuild updates for v5.13 (2nd) 2021-05-08 10:00:11 -07:00
nds32 tracing updates for 5.13 2021-05-03 11:19:54 -07:00
nios2 Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2021-05-02 09:14:01 -07:00
openrisc openrisc: always use unaligned-struct header 2021-05-10 17:50:04 +02:00
parisc asm-generic: use asm-generic/unaligned.h for most architectures 2021-05-10 17:43:15 +02:00
powerpc Kbuild updates for v5.13 (2nd) 2021-05-08 10:00:11 -07:00
riscv riscv: remove unused handle_exception symbol 2021-05-06 09:40:16 -07:00
s390 Merge branch 'akpm' (patches from Andrew) 2021-05-07 00:34:51 -07:00
sh sh: remove unaligned access for sh4a 2021-05-10 17:50:47 +02:00
sparc asm-generic: use asm-generic/unaligned.h for most architectures 2021-05-10 17:43:15 +02:00
um Merge branch 'akpm' (patches from Andrew) 2021-05-07 00:34:51 -07:00
x86 asm-generic: use asm-generic/unaligned.h for most architectures 2021-05-10 17:43:15 +02:00
xtensa asm-generic: use asm-generic/unaligned.h for most architectures 2021-05-10 17:43:15 +02:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig Add Landlock, a new LSM from Mickaël Salaün <mic@linux.microsoft.com> 2021-05-01 18:50:44 -07:00