Skip to content

Commit 59598b4

Browse files
Mukesh Ojhawilldeacon
authored andcommitted
arm64: entry: Fix typo
Fix the following typo in entry-common.c intrumentable => instrumentable Signed-off-by: Mukesh Ojha <[email protected]> Acked-by: Mark Rutland <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 8a8112d commit 59598b4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

arch/arm64/kernel/entry-common.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
/*
3131
* Handle IRQ/context state management when entering from kernel mode.
3232
* Before this function is called it is not safe to call regular kernel code,
33-
* intrumentable code, or any code which may trigger an exception.
33+
* instrumentable code, or any code which may trigger an exception.
3434
*
3535
* This is intended to match the logic in irqentry_enter(), handling the kernel
3636
* mode transitions only.
@@ -63,7 +63,7 @@ static void noinstr enter_from_kernel_mode(struct pt_regs *regs)
6363
/*
6464
* Handle IRQ/context state management when exiting to kernel mode.
6565
* After this function returns it is not safe to call regular kernel code,
66-
* intrumentable code, or any code which may trigger an exception.
66+
* instrumentable code, or any code which may trigger an exception.
6767
*
6868
* This is intended to match the logic in irqentry_exit(), handling the kernel
6969
* mode transitions only, and with preemption handled elsewhere.
@@ -97,7 +97,7 @@ static void noinstr exit_to_kernel_mode(struct pt_regs *regs)
9797
/*
9898
* Handle IRQ/context state management when entering from user mode.
9999
* Before this function is called it is not safe to call regular kernel code,
100-
* intrumentable code, or any code which may trigger an exception.
100+
* instrumentable code, or any code which may trigger an exception.
101101
*/
102102
static __always_inline void __enter_from_user_mode(void)
103103
{
@@ -116,7 +116,7 @@ static __always_inline void enter_from_user_mode(struct pt_regs *regs)
116116
/*
117117
* Handle IRQ/context state management when exiting to user mode.
118118
* After this function returns it is not safe to call regular kernel code,
119-
* intrumentable code, or any code which may trigger an exception.
119+
* instrumentable code, or any code which may trigger an exception.
120120
*/
121121
static __always_inline void __exit_to_user_mode(void)
122122
{
@@ -152,7 +152,7 @@ asmlinkage void noinstr asm_exit_to_user_mode(struct pt_regs *regs)
152152
/*
153153
* Handle IRQ/context state management when entering an NMI from user/kernel
154154
* mode. Before this function is called it is not safe to call regular kernel
155-
* code, intrumentable code, or any code which may trigger an exception.
155+
* code, instrumentable code, or any code which may trigger an exception.
156156
*/
157157
static void noinstr arm64_enter_nmi(struct pt_regs *regs)
158158
{
@@ -170,7 +170,7 @@ static void noinstr arm64_enter_nmi(struct pt_regs *regs)
170170
/*
171171
* Handle IRQ/context state management when exiting an NMI from user/kernel
172172
* mode. After this function returns it is not safe to call regular kernel
173-
* code, intrumentable code, or any code which may trigger an exception.
173+
* code, instrumentable code, or any code which may trigger an exception.
174174
*/
175175
static void noinstr arm64_exit_nmi(struct pt_regs *regs)
176176
{
@@ -192,7 +192,7 @@ static void noinstr arm64_exit_nmi(struct pt_regs *regs)
192192
/*
193193
* Handle IRQ/context state management when entering a debug exception from
194194
* kernel mode. Before this function is called it is not safe to call regular
195-
* kernel code, intrumentable code, or any code which may trigger an exception.
195+
* kernel code, instrumentable code, or any code which may trigger an exception.
196196
*/
197197
static void noinstr arm64_enter_el1_dbg(struct pt_regs *regs)
198198
{
@@ -207,7 +207,7 @@ static void noinstr arm64_enter_el1_dbg(struct pt_regs *regs)
207207
/*
208208
* Handle IRQ/context state management when exiting a debug exception from
209209
* kernel mode. After this function returns it is not safe to call regular
210-
* kernel code, intrumentable code, or any code which may trigger an exception.
210+
* kernel code, instrumentable code, or any code which may trigger an exception.
211211
*/
212212
static void noinstr arm64_exit_el1_dbg(struct pt_regs *regs)
213213
{

0 commit comments

Comments
 (0)