Skip to content

Commit 3b671bf

Browse files
committed
Merge tag 'core-entry-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull core entry updates from Thomas Gleixner: "A trivial cleanup of typo fixes" * tag 'core-entry-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: entry: Fix typos in comments
2 parents 64a925c + 97258ce commit 3b671bf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎include/linux/entry-common.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ void syscall_exit_to_user_mode_work(struct pt_regs *regs);
360360
*
361361
* This is a combination of syscall_exit_to_user_mode_work() (1,2) and
362362
* exit_to_user_mode(). This function is preferred unless there is a
363-
* compelling architectural reason to use the seperate functions.
363+
* compelling architectural reason to use the separate functions.
364364
*/
365365
void syscall_exit_to_user_mode(struct pt_regs *regs);
366366

@@ -381,7 +381,7 @@ void irqentry_enter_from_user_mode(struct pt_regs *regs);
381381
* irqentry_exit_to_user_mode - Interrupt exit work
382382
* @regs: Pointer to current's pt_regs
383383
*
384-
* Invoked with interrupts disbled and fully valid regs. Returns with all
384+
* Invoked with interrupts disabled and fully valid regs. Returns with all
385385
* work handled, interrupts disabled such that the caller can immediately
386386
* switch to user mode. Called from architecture specific interrupt
387387
* handling code.

‎kernel/entry/common.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ noinstr irqentry_state_t irqentry_enter(struct pt_regs *regs)
341341
* Checking for rcu_is_watching() here would prevent the nesting
342342
* interrupt to invoke rcu_irq_enter(). If that nested interrupt is
343343
* the tick then rcu_flavor_sched_clock_irq() would wrongfully
344-
* assume that it is the first interupt and eventually claim
344+
* assume that it is the first interrupt and eventually claim
345345
* quiescent state and end grace periods prematurely.
346346
*
347347
* Unconditionally invoke rcu_irq_enter() so RCU state stays

0 commit comments

Comments
 (0)