Skip to content

Commit 6712fcd

Browse files
xhackerustcctmarinas
authored andcommitted
arm64: remove ARCH_INLINE_*
Since commit 7dadeaa ("sched: Further restrict the preemption modes"), arm64 only has two preemption models: full and lazy. Both implies PREEMPTION, so !PREEMPTION is always false for arm64, it's time to remove ARCH_INLINE_*. Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent 1f318b9 commit 6712fcd

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

arch/arm64/Kconfig

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -61,32 +61,6 @@ config ARM64
6161
select ARCH_HAVE_ELF_PROT
6262
select ARCH_HAVE_NMI_SAFE_CMPXCHG
6363
select ARCH_HAVE_TRACE_MMIO_ACCESS
64-
select ARCH_INLINE_READ_LOCK if !PREEMPTION
65-
select ARCH_INLINE_READ_LOCK_BH if !PREEMPTION
66-
select ARCH_INLINE_READ_LOCK_IRQ if !PREEMPTION
67-
select ARCH_INLINE_READ_LOCK_IRQSAVE if !PREEMPTION
68-
select ARCH_INLINE_READ_UNLOCK if !PREEMPTION
69-
select ARCH_INLINE_READ_UNLOCK_BH if !PREEMPTION
70-
select ARCH_INLINE_READ_UNLOCK_IRQ if !PREEMPTION
71-
select ARCH_INLINE_READ_UNLOCK_IRQRESTORE if !PREEMPTION
72-
select ARCH_INLINE_WRITE_LOCK if !PREEMPTION
73-
select ARCH_INLINE_WRITE_LOCK_BH if !PREEMPTION
74-
select ARCH_INLINE_WRITE_LOCK_IRQ if !PREEMPTION
75-
select ARCH_INLINE_WRITE_LOCK_IRQSAVE if !PREEMPTION
76-
select ARCH_INLINE_WRITE_UNLOCK if !PREEMPTION
77-
select ARCH_INLINE_WRITE_UNLOCK_BH if !PREEMPTION
78-
select ARCH_INLINE_WRITE_UNLOCK_IRQ if !PREEMPTION
79-
select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE if !PREEMPTION
80-
select ARCH_INLINE_SPIN_TRYLOCK if !PREEMPTION
81-
select ARCH_INLINE_SPIN_TRYLOCK_BH if !PREEMPTION
82-
select ARCH_INLINE_SPIN_LOCK if !PREEMPTION
83-
select ARCH_INLINE_SPIN_LOCK_BH if !PREEMPTION
84-
select ARCH_INLINE_SPIN_LOCK_IRQ if !PREEMPTION
85-
select ARCH_INLINE_SPIN_LOCK_IRQSAVE if !PREEMPTION
86-
select ARCH_INLINE_SPIN_UNLOCK if !PREEMPTION
87-
select ARCH_INLINE_SPIN_UNLOCK_BH if !PREEMPTION
88-
select ARCH_INLINE_SPIN_UNLOCK_IRQ if !PREEMPTION
89-
select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE if !PREEMPTION
9064
select ARCH_KEEP_MEMBLOCK
9165
select ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE
9266
select ARCH_USE_CMPXCHG_LOCKREF

0 commit comments

Comments
 (0)