Skip to content

Commit c5f48c0

Browse files
author
Ingo Molnar
committed
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
1 parent 989a422 commit c5f48c0

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

drivers/irqchip/irq-dw-apb-ictl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static int __init dw_apb_ictl_init(struct device_node *np,
105105
* DW IP can be configured to allow 2-64 irqs. We can determine
106106
* the number of irqs supported by writing into enable register
107107
* and look for bits not set, as corresponding flip-flops will
108-
* have been removed by sythesis tool.
108+
* have been removed by synthesis tool.
109109
*/
110110

111111
/* mask and enable all interrupts */

drivers/irqchip/irq-gic.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -604,8 +604,8 @@ void gic_dist_save(struct gic_chip_data *gic)
604604
/*
605605
* Restores the GIC distributor registers during resume or when coming out of
606606
* idle. Must be called before enabling interrupts. If a level interrupt
607-
* that occured while the GIC was suspended is still present, it will be
608-
* handled normally, but any edge interrupts that occured will not be seen by
607+
* that occurred while the GIC was suspended is still present, it will be
608+
* handled normally, but any edge interrupts that occurred will not be seen by
609609
* the GIC and need to be handled by the platform-specific wakeup source.
610610
*/
611611
void gic_dist_restore(struct gic_chip_data *gic)
@@ -899,7 +899,7 @@ void gic_migrate_target(unsigned int new_cpu_id)
899899
gic_cpu_map[cpu] = 1 << new_cpu_id;
900900

901901
/*
902-
* Find all the peripheral interrupts targetting the current
902+
* Find all the peripheral interrupts targeting the current
903903
* CPU interface and migrate them to the new CPU interface.
904904
* We skip DIST_TARGET 0 to 7 as they are read-only.
905905
*/

drivers/irqchip/irq-renesas-h8s.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* H8S interrupt contoller driver
3+
* H8S interrupt controller driver
44
*
55
* Copyright 2015 Yoshinori Sato <ysato@users.sourceforge.jp>
66
*/

drivers/irqchip/irq-s3c24xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ struct s3c_irq_data {
5858
};
5959

6060
/*
61-
* Sructure holding the controller data
61+
* Structure holding the controller data
6262
* @reg_pending register holding pending irqs
6363
* @reg_intpnd special register intpnd in main intc
6464
* @reg_mask mask register

include/linux/irqchip.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* the association between their DT compatible string and their
2020
* initialization function.
2121
*
22-
* @name: name that must be unique accross all IRQCHIP_DECLARE of the
22+
* @name: name that must be unique across all IRQCHIP_DECLARE of the
2323
* same file.
2424
* @compstr: compatible string of the irqchip driver
2525
* @fn: initialization function
@@ -30,7 +30,7 @@
3030
* This macro must be used by the different irqchip drivers to declare
3131
* the association between their version and their initialization function.
3232
*
33-
* @name: name that must be unique accross all IRQCHIP_ACPI_DECLARE of the
33+
* @name: name that must be unique across all IRQCHIP_ACPI_DECLARE of the
3434
* same file.
3535
* @subtable: Subtable to be identified in MADT
3636
* @validate: Function to be called on that subtable to check its validity.

kernel/irq/chip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ __irq_do_set_handler(struct irq_desc *desc, irq_flow_handler_t handle,
929929
break;
930930
/*
931931
* 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
933933
* right away.
934934
*/
935935
if (WARN_ON(is_chained))

kernel/irq/ipi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ int irq_reserve_ipi(struct irq_domain *domain,
5656
unsigned int next;
5757

5858
/*
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
6060
* that the destination mask is consecutive. If an
6161
* implementation needs to support holes, it can reserve
6262
* several IPI ranges.
@@ -172,7 +172,7 @@ irq_hw_number_t ipi_get_hwirq(unsigned int irq, unsigned int cpu)
172172

173173
/*
174174
* 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
176176
* a single hardware irq for all cpus then the IPI send mechanism
177177
* needs to take care of the cpu destinations.
178178
*/

kernel/irq/manage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action) { }
915915
#endif
916916

917917
/*
918-
* Interrupts which are not explicitely requested as threaded
918+
* Interrupts which are not explicitly requested as threaded
919919
* interrupts rely on the implicit bh/preempt disable of the hard irq
920920
* context. So we need to disable bh here to avoid deadlocks and other
921921
* side effects.

kernel/irq/spurious.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static int try_one_irq(struct irq_desc *desc, bool force)
6666
raw_spin_lock(&desc->lock);
6767

6868
/*
69-
* PER_CPU, nested thread interrupts and interrupts explicitely
69+
* PER_CPU, nested thread interrupts and interrupts explicitly
7070
* marked polled are excluded from polling.
7171
*/
7272
if (irq_settings_is_per_cpu(desc) ||
@@ -76,7 +76,7 @@ static int try_one_irq(struct irq_desc *desc, bool force)
7676

7777
/*
7878
* Do not poll disabled interrupts unless the spurious
79-
* disabled poller asks explicitely.
79+
* disabled poller asks explicitly.
8080
*/
8181
if (irqd_irq_disabled(&desc->irq_data) && !force)
8282
goto out;
@@ -292,7 +292,7 @@ void note_interrupt(struct irq_desc *desc, irqreturn_t action_ret)
292292
* So in case a thread is woken, we just note the fact and
293293
* defer the analysis to the next hardware interrupt.
294294
*
295-
* The threaded handlers store whether they sucessfully
295+
* The threaded handlers store whether they successfully
296296
* handled an interrupt and we check whether that number
297297
* changed versus the last invocation.
298298
*

0 commit comments

Comments
 (0)