Commit 59598b42 authored by Mukesh Ojha's avatar Mukesh Ojha Committed by Will Deacon

arm64: entry: Fix typo

Fix the following typo in entry-common.c
intrumentable => instrumentable
Signed-off-by: default avatarMukesh Ojha <quic_mojha@quicinc.com>
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/1667027268-1255-1-git-send-email-quic_mojha@quicinc.comSigned-off-by: default avatarWill Deacon <will@kernel.org>
parent 8a8112d8
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
/* /*
* Handle IRQ/context state management when entering from kernel mode. * Handle IRQ/context state management when entering from kernel mode.
* Before this function is called it is not safe to call regular kernel code, * Before this function is called it is not safe to call regular kernel code,
* intrumentable code, or any code which may trigger an exception. * instrumentable code, or any code which may trigger an exception.
* *
* This is intended to match the logic in irqentry_enter(), handling the kernel * This is intended to match the logic in irqentry_enter(), handling the kernel
* mode transitions only. * mode transitions only.
...@@ -63,7 +63,7 @@ static void noinstr enter_from_kernel_mode(struct pt_regs *regs) ...@@ -63,7 +63,7 @@ static void noinstr enter_from_kernel_mode(struct pt_regs *regs)
/* /*
* Handle IRQ/context state management when exiting to kernel mode. * Handle IRQ/context state management when exiting to kernel mode.
* After this function returns it is not safe to call regular kernel code, * After this function returns it is not safe to call regular kernel code,
* intrumentable code, or any code which may trigger an exception. * instrumentable code, or any code which may trigger an exception.
* *
* This is intended to match the logic in irqentry_exit(), handling the kernel * This is intended to match the logic in irqentry_exit(), handling the kernel
* mode transitions only, and with preemption handled elsewhere. * mode transitions only, and with preemption handled elsewhere.
...@@ -97,7 +97,7 @@ static void noinstr exit_to_kernel_mode(struct pt_regs *regs) ...@@ -97,7 +97,7 @@ static void noinstr exit_to_kernel_mode(struct pt_regs *regs)
/* /*
* Handle IRQ/context state management when entering from user mode. * Handle IRQ/context state management when entering from user mode.
* Before this function is called it is not safe to call regular kernel code, * Before this function is called it is not safe to call regular kernel code,
* intrumentable code, or any code which may trigger an exception. * instrumentable code, or any code which may trigger an exception.
*/ */
static __always_inline void __enter_from_user_mode(void) static __always_inline void __enter_from_user_mode(void)
{ {
...@@ -116,7 +116,7 @@ static __always_inline void enter_from_user_mode(struct pt_regs *regs) ...@@ -116,7 +116,7 @@ static __always_inline void enter_from_user_mode(struct pt_regs *regs)
/* /*
* Handle IRQ/context state management when exiting to user mode. * Handle IRQ/context state management when exiting to user mode.
* After this function returns it is not safe to call regular kernel code, * After this function returns it is not safe to call regular kernel code,
* intrumentable code, or any code which may trigger an exception. * instrumentable code, or any code which may trigger an exception.
*/ */
static __always_inline void __exit_to_user_mode(void) static __always_inline void __exit_to_user_mode(void)
{ {
...@@ -152,7 +152,7 @@ asmlinkage void noinstr asm_exit_to_user_mode(struct pt_regs *regs) ...@@ -152,7 +152,7 @@ asmlinkage void noinstr asm_exit_to_user_mode(struct pt_regs *regs)
/* /*
* Handle IRQ/context state management when entering an NMI from user/kernel * Handle IRQ/context state management when entering an NMI from user/kernel
* mode. Before this function is called it is not safe to call regular kernel * mode. Before this function is called it is not safe to call regular kernel
* code, intrumentable code, or any code which may trigger an exception. * code, instrumentable code, or any code which may trigger an exception.
*/ */
static void noinstr arm64_enter_nmi(struct pt_regs *regs) static void noinstr arm64_enter_nmi(struct pt_regs *regs)
{ {
...@@ -170,7 +170,7 @@ static void noinstr arm64_enter_nmi(struct pt_regs *regs) ...@@ -170,7 +170,7 @@ static void noinstr arm64_enter_nmi(struct pt_regs *regs)
/* /*
* Handle IRQ/context state management when exiting an NMI from user/kernel * Handle IRQ/context state management when exiting an NMI from user/kernel
* mode. After this function returns it is not safe to call regular kernel * mode. After this function returns it is not safe to call regular kernel
* code, intrumentable code, or any code which may trigger an exception. * code, instrumentable code, or any code which may trigger an exception.
*/ */
static void noinstr arm64_exit_nmi(struct pt_regs *regs) static void noinstr arm64_exit_nmi(struct pt_regs *regs)
{ {
...@@ -192,7 +192,7 @@ static void noinstr arm64_exit_nmi(struct pt_regs *regs) ...@@ -192,7 +192,7 @@ static void noinstr arm64_exit_nmi(struct pt_regs *regs)
/* /*
* Handle IRQ/context state management when entering a debug exception from * Handle IRQ/context state management when entering a debug exception from
* kernel mode. Before this function is called it is not safe to call regular * kernel mode. Before this function is called it is not safe to call regular
* kernel code, intrumentable code, or any code which may trigger an exception. * kernel code, instrumentable code, or any code which may trigger an exception.
*/ */
static void noinstr arm64_enter_el1_dbg(struct pt_regs *regs) static void noinstr arm64_enter_el1_dbg(struct pt_regs *regs)
{ {
...@@ -207,7 +207,7 @@ static void noinstr arm64_enter_el1_dbg(struct pt_regs *regs) ...@@ -207,7 +207,7 @@ static void noinstr arm64_enter_el1_dbg(struct pt_regs *regs)
/* /*
* Handle IRQ/context state management when exiting a debug exception from * Handle IRQ/context state management when exiting a debug exception from
* kernel mode. After this function returns it is not safe to call regular * kernel mode. After this function returns it is not safe to call regular
* kernel code, intrumentable code, or any code which may trigger an exception. * kernel code, instrumentable code, or any code which may trigger an exception.
*/ */
static void noinstr arm64_exit_el1_dbg(struct pt_regs *regs) static void noinstr arm64_exit_el1_dbg(struct pt_regs *regs)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment