Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

m68k: selection of GENERIC_ATOMIC64 is not MMU specific

The selection of the CONFIG_GENERIC_ATOMIC64 option is not specific to the
MMU being present and enabled. It is a property of certain CPU families.
So select it based on those CPU types being selected.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>

+4 -1
-1
arch/m68k/Kconfig
··· 3 3 default y 4 4 select HAVE_IDE 5 5 select HAVE_AOUT if MMU 6 - select GENERIC_ATOMIC64 if MMU 7 6 select HAVE_GENERIC_HARDIRQS 8 7 select GENERIC_IRQ_SHOW 9 8 select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
+4
arch/m68k/Kconfig.cpu
··· 33 33 config M68020 34 34 bool "68020 support" 35 35 depends on MMU 36 + select GENERIC_ATOMIC64 36 37 help 37 38 If you anticipate running this kernel on a computer with a MC68020 38 39 processor, say Y. Otherwise, say N. Note that the 68020 requires a ··· 43 42 config M68030 44 43 bool "68030 support" 45 44 depends on MMU && !MMU_SUN3 45 + select GENERIC_ATOMIC64 46 46 help 47 47 If you anticipate running this kernel on a computer with a MC68030 48 48 processor, say Y. Otherwise, say N. Note that a MC68EC030 will not ··· 52 50 config M68040 53 51 bool "68040 support" 54 52 depends on MMU && !MMU_SUN3 53 + select GENERIC_ATOMIC64 55 54 help 56 55 If you anticipate running this kernel on a computer with a MC68LC040 57 56 or MC68040 processor, say Y. Otherwise, say N. Note that an ··· 62 59 config M68060 63 60 bool "68060 support" 64 61 depends on MMU && !MMU_SUN3 62 + select GENERIC_ATOMIC64 65 63 help 66 64 If you anticipate running this kernel on a computer with a MC68060 67 65 processor, say Y. Otherwise, say N.