summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2018-12-03 05:44:51 -0500
committerIngo Molnar <mingo@kernel.org>2018-12-18 08:22:28 -0500
commitc5f48c0a7aa1a8c82d81cdf27e63aa0a5544c6e6 (patch)
tree64731929e3abf3b2afbb9ec0a6cbceef8d076db7 /kernel
parent989a4222c13a3e148772730d362fceb0727852f5 (diff)
genirq: Fix various typos in comments
Go over the IRQ subsystem source code (including irqchip drivers) and fix common typos in comments. No change in functionality intended. Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'kernel')
-rw-r--r--kernel/irq/chip.c2
-rw-r--r--kernel/irq/ipi.c4
-rw-r--r--kernel/irq/manage.c2
-rw-r--r--kernel/irq/spurious.c6
4 files changed, 7 insertions, 7 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index a2b3d9de999c..34e969069488 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -929,7 +929,7 @@ __irq_do_set_handler(struct irq_desc *desc, irq_flow_handler_t handle,
929 break; 929 break;
930 /* 930 /*
931 * Bail out if the outer chip is not set up 931 * Bail out if the outer chip is not set up
932 * and the interrrupt supposed to be started 932 * and the interrupt supposed to be started
933 * right away. 933 * right away.
934 */ 934 */
935 if (WARN_ON(is_chained)) 935 if (WARN_ON(is_chained))
diff --git a/kernel/irq/ipi.c b/kernel/irq/ipi.c
index 8b778e37dc6d..43e3d1be622c 100644
--- a/kernel/irq/ipi.c
+++ b/kernel/irq/ipi.c
@@ -56,7 +56,7 @@ int irq_reserve_ipi(struct irq_domain *domain,
56 unsigned int next; 56 unsigned int next;
57 57
58 /* 58 /*
59 * The IPI requires a seperate HW irq on each CPU. We require 59 * The IPI requires a separate HW irq on each CPU. We require
60 * that the destination mask is consecutive. If an 60 * that the destination mask is consecutive. If an
61 * implementation needs to support holes, it can reserve 61 * implementation needs to support holes, it can reserve
62 * several IPI ranges. 62 * several IPI ranges.
@@ -172,7 +172,7 @@ irq_hw_number_t ipi_get_hwirq(unsigned int irq, unsigned int cpu)
172 172
173 /* 173 /*
174 * Get the real hardware irq number if the underlying implementation 174 * Get the real hardware irq number if the underlying implementation
175 * uses a seperate irq per cpu. If the underlying implementation uses 175 * uses a separate irq per cpu. If the underlying implementation uses
176 * a single hardware irq for all cpus then the IPI send mechanism 176 * a single hardware irq for all cpus then the IPI send mechanism
177 * needs to take care of the cpu destinations. 177 * needs to take care of the cpu destinations.
178 */ 178 */
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 9dbdccab3b6a..a4888ce4667a 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -915,7 +915,7 @@ irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action) { }
915#endif 915#endif
916 916
917/* 917/*
918 * Interrupts which are not explicitely requested as threaded 918 * Interrupts which are not explicitly requested as threaded
919 * interrupts rely on the implicit bh/preempt disable of the hard irq 919 * interrupts rely on the implicit bh/preempt disable of the hard irq
920 * context. So we need to disable bh here to avoid deadlocks and other 920 * context. So we need to disable bh here to avoid deadlocks and other
921 * side effects. 921 * side effects.
diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c
index d867d6ddafdd..6d2fa6914b30 100644
--- a/kernel/irq/spurious.c
+++ b/kernel/irq/spurious.c
@@ -66,7 +66,7 @@ static int try_one_irq(struct irq_desc *desc, bool force)
66 raw_spin_lock(&desc->lock); 66 raw_spin_lock(&desc->lock);
67 67
68 /* 68 /*
69 * PER_CPU, nested thread interrupts and interrupts explicitely 69 * PER_CPU, nested thread interrupts and interrupts explicitly
70 * marked polled are excluded from polling. 70 * marked polled are excluded from polling.
71 */ 71 */
72 if (irq_settings_is_per_cpu(desc) || 72 if (irq_settings_is_per_cpu(desc) ||
@@ -76,7 +76,7 @@ static int try_one_irq(struct irq_desc *desc, bool force)
76 76
77 /* 77 /*
78 * Do not poll disabled interrupts unless the spurious 78 * Do not poll disabled interrupts unless the spurious
79 * disabled poller asks explicitely. 79 * disabled poller asks explicitly.
80 */ 80 */
81 if (irqd_irq_disabled(&desc->irq_data) && !force) 81 if (irqd_irq_disabled(&desc->irq_data) && !force)
82 goto out; 82 goto out;
@@ -292,7 +292,7 @@ void note_interrupt(struct irq_desc *desc, irqreturn_t action_ret)
292 * So in case a thread is woken, we just note the fact and 292 * So in case a thread is woken, we just note the fact and
293 * defer the analysis to the next hardware interrupt. 293 * defer the analysis to the next hardware interrupt.
294 * 294 *
295 * The threaded handlers store whether they sucessfully 295 * The threaded handlers store whether they successfully
296 * handled an interrupt and we check whether that number 296 * handled an interrupt and we check whether that number
297 * changed versus the last invocation. 297 * changed versus the last invocation.
298 * 298 *