Commit 3c188518 authored by Mark Rutland's avatar Mark Rutland Committed by Peter Zijlstra
Browse files

locking/atomic: delete !ARCH_ATOMIC remnants



Now that all architectures implement ARCH_ATOMIC, we can make it
mandatory, removing the Kconfig symbol and logic for !ARCH_ATOMIC.

There should be no functional change as a result of this patch.

Signed-off-by: default avatarMark Rutland <mark.rutland@arm.com>
Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210525140232.53872-33-mark.rutland@arm.com
parent b9b12978
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -11,9 +11,6 @@ source "arch/$(SRCARCH)/Kconfig"

menu "General architecture-dependent options"

config ARCH_ATOMIC
	bool

config CRASH_CORE
	bool

+0 −1
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
config ALPHA
	bool
	default y
	select ARCH_ATOMIC
	select ARCH_32BIT_USTAT_F_TINODE
	select ARCH_MIGHT_HAVE_PC_PARPORT
	select ARCH_MIGHT_HAVE_PC_SERIO
+0 −1
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@
config ARC
	def_bool y
	select ARC_TIMERS
	select ARCH_ATOMIC
	select ARCH_HAS_CACHE_LINE_SIZE
	select ARCH_HAS_DEBUG_VM_PGTABLE
	select ARCH_HAS_DMA_PREP_COHERENT
+0 −1
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@ config ARM
	bool
	default y
	select ARCH_32BIT_OFF_T
	select ARCH_ATOMIC
	select ARCH_HAS_BINFMT_FLAT
	select ARCH_HAS_DEBUG_VIRTUAL if MMU
	select ARCH_HAS_DMA_WRITE_COMBINE if !ARM_DMA_MEM_BUFFERABLE
+0 −1
Original line number Diff line number Diff line
@@ -9,7 +9,6 @@ config ARM64
	select ACPI_MCFG if (ACPI && PCI)
	select ACPI_SPCR_TABLE if ACPI
	select ACPI_PPTT if ACPI
	select ARCH_ATOMIC
	select ARCH_HAS_DEBUG_WX
	select ARCH_BINFMT_ELF_STATE
	select ARCH_ENABLE_HUGEPAGE_MIGRATION if HUGETLB_PAGE && MIGRATION
Loading