summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorValentin Schneider <vschneid@redhat.com>2023-07-25 12:08:50 +0100
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>2024-07-29 07:33:10 +0530
commitd65d411c9259a2499081e1e7ed91088232666b57 (patch)
treeca57ff6f5e795bad67d1f6ea53185c449721d4c7 /arch/arm64
parent8400291e289ee6b2bf9779ff1c83a291501f017b (diff)
downloadlinux-stable-d65d411c9259a2499081e1e7ed91088232666b57.tar.gz
linux-stable-d65d411c9259a2499081e1e7ed91088232666b57.tar.bz2
linux-stable-d65d411c9259a2499081e1e7ed91088232666b57.zip
treewide: context_tracking: Rename CONTEXT_* into CT_STATE_*
Context tracking state related symbols currently use a mix of the CONTEXT_ (e.g. CONTEXT_KERNEL) and CT_SATE_ (e.g. CT_STATE_MASK) prefixes. Clean up the naming and make the ctx_state enum use the CT_STATE_ prefix. Suggested-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Valentin Schneider <vschneid@redhat.com> Acked-by: Frederic Weisbecker <frederic@kernel.org> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/kernel/entry-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/entry-common.c b/arch/arm64/kernel/entry-common.c
index b77a15955f28..3fcd9d080bf2 100644
--- a/arch/arm64/kernel/entry-common.c
+++ b/arch/arm64/kernel/entry-common.c
@@ -103,7 +103,7 @@ static void noinstr exit_to_kernel_mode(struct pt_regs *regs)
static __always_inline void __enter_from_user_mode(void)
{
lockdep_hardirqs_off(CALLER_ADDR0);
- CT_WARN_ON(ct_state() != CONTEXT_USER);
+ CT_WARN_ON(ct_state() != CT_STATE_USER);
user_exit_irqoff();
trace_hardirqs_off_finish();
mte_disable_tco_entry(current);