[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240914090040.166671-1-ryotkkr98@gmail.com>
Date: Sat, 14 Sep 2024 18:00:40 +0900
From: Ryo Takakura <ryotkkr98@...il.com>
To: catalin.marinas@....com,
will@...nel.org,
broonie@...nel.org,
mark.rutland@....com
Cc: linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Ryo Takakura <ryotkkr98@...il.com>
Subject: [PATCH] arm64: Remove the check for CONFIG_TINY_RCU
Since the commit 4b3dc9679cf77 ("arm64: force CONFIG_SMP=y and remove
redundant #ifdefs"), arm64 defaults to CONFIG_SMP but TINY_RCU is cofigured
only for !SMP systems.
Remove the check for CONFIG_TINY_RCU as it should always be false.
Signed-off-by: Ryo Takakura <ryotkkr98@...il.com>
---
arch/arm64/kernel/entry-common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/kernel/entry-common.c b/arch/arm64/kernel/entry-common.c
index b77a15955f28..a9765364fc67 100644
--- a/arch/arm64/kernel/entry-common.c
+++ b/arch/arm64/kernel/entry-common.c
@@ -40,7 +40,7 @@ static __always_inline void __enter_from_kernel_mode(struct pt_regs *regs)
{
regs->exit_rcu = false;
- if (!IS_ENABLED(CONFIG_TINY_RCU) && is_idle_task(current)) {
+ if (is_idle_task(current)) {
lockdep_hardirqs_off(CALLER_ADDR0);
ct_irq_enter();
trace_hardirqs_off_finish();
--
2.34.1
Powered by blists - more mailing lists