[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250614192729.10760-1-khaliidcaliy@gmail.com>
Date: Sat, 14 Jun 2025 19:26:29 +0000
From: Khalid Ali <khaliidcaliy@...il.com>
To: tglx@...utronix.de,
peterz@...radead.org,
luto@...nel.org,
linux-kernel@...r.kernel.org
Cc: Khalid Ali <khaliidcaliy@...il.com>
Subject: [PATCH] kernel/entry: Fix misleading comment in irqentry_enter()
Change irqentry_enter_from_user_mode() to enter_from_user_mode(),
because enter_from_user_mode() function is the one doing the action
comment indicates.
Signed-off-by: Khalid Ali <khaliidcaliy@...il.com>
---
kernel/entry/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/entry/common.c b/kernel/entry/common.c
index a8dd1f27417c..f49e3440204d 100644
--- a/kernel/entry/common.c
+++ b/kernel/entry/common.c
@@ -224,7 +224,7 @@ noinstr irqentry_state_t irqentry_enter(struct pt_regs *regs)
/*
* If RCU is not watching then the same careful
* sequence vs. lockdep and tracing is required
- * as in irqentry_enter_from_user_mode().
+ * as in enter_from_user_mode().
*/
lockdep_hardirqs_off(CALLER_ADDR0);
ct_irq_enter();
--
2.49.0
Powered by blists - more mailing lists