* [PATCH] arm64: remove ARCH_INLINE_*
@ 2026-02-20 9:12 Jisheng Zhang
2026-03-10 18:08 ` Catalin Marinas
0 siblings, 1 reply; 2+ messages in thread
From: Jisheng Zhang @ 2026-02-20 9:12 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon; +Cc: linux-arm-kernel, linux-kernel
Since commit 7dadeaa6e851 ("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>
---
arch/arm64/Kconfig | 26 --------------------------
1 file changed, 26 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 38dba5f7e4d2..3d90f2d35a99 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -61,32 +61,6 @@ config ARM64
select ARCH_HAVE_ELF_PROT
select ARCH_HAVE_NMI_SAFE_CMPXCHG
select ARCH_HAVE_TRACE_MMIO_ACCESS
- select ARCH_INLINE_READ_LOCK if !PREEMPTION
- select ARCH_INLINE_READ_LOCK_BH if !PREEMPTION
- select ARCH_INLINE_READ_LOCK_IRQ if !PREEMPTION
- select ARCH_INLINE_READ_LOCK_IRQSAVE if !PREEMPTION
- select ARCH_INLINE_READ_UNLOCK if !PREEMPTION
- select ARCH_INLINE_READ_UNLOCK_BH if !PREEMPTION
- select ARCH_INLINE_READ_UNLOCK_IRQ if !PREEMPTION
- select ARCH_INLINE_READ_UNLOCK_IRQRESTORE if !PREEMPTION
- select ARCH_INLINE_WRITE_LOCK if !PREEMPTION
- select ARCH_INLINE_WRITE_LOCK_BH if !PREEMPTION
- select ARCH_INLINE_WRITE_LOCK_IRQ if !PREEMPTION
- select ARCH_INLINE_WRITE_LOCK_IRQSAVE if !PREEMPTION
- select ARCH_INLINE_WRITE_UNLOCK if !PREEMPTION
- select ARCH_INLINE_WRITE_UNLOCK_BH if !PREEMPTION
- select ARCH_INLINE_WRITE_UNLOCK_IRQ if !PREEMPTION
- select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE if !PREEMPTION
- select ARCH_INLINE_SPIN_TRYLOCK if !PREEMPTION
- select ARCH_INLINE_SPIN_TRYLOCK_BH if !PREEMPTION
- select ARCH_INLINE_SPIN_LOCK if !PREEMPTION
- select ARCH_INLINE_SPIN_LOCK_BH if !PREEMPTION
- select ARCH_INLINE_SPIN_LOCK_IRQ if !PREEMPTION
- select ARCH_INLINE_SPIN_LOCK_IRQSAVE if !PREEMPTION
- select ARCH_INLINE_SPIN_UNLOCK if !PREEMPTION
- select ARCH_INLINE_SPIN_UNLOCK_BH if !PREEMPTION
- select ARCH_INLINE_SPIN_UNLOCK_IRQ if !PREEMPTION
- select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE if !PREEMPTION
select ARCH_KEEP_MEMBLOCK
select ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE
select ARCH_USE_CMPXCHG_LOCKREF
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: remove ARCH_INLINE_*
2026-02-20 9:12 [PATCH] arm64: remove ARCH_INLINE_* Jisheng Zhang
@ 2026-03-10 18:08 ` Catalin Marinas
0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2026-03-10 18:08 UTC (permalink / raw)
To: Will Deacon, Jisheng Zhang; +Cc: linux-arm-kernel, linux-kernel
On Fri, 20 Feb 2026 17:12:28 +0800, Jisheng Zhang wrote:
> Since commit 7dadeaa6e851 ("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_*.
>
>
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: remove ARCH_INLINE_*
https://git.kernel.org/arm64/c/6712fcde003f
--
Catalin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-10 18:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-20 9:12 [PATCH] arm64: remove ARCH_INLINE_* Jisheng Zhang
2026-03-10 18:08 ` Catalin Marinas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox