summaryrefslogtreecommitdiffstats
path: root/kernel/irq/timings.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-03-16 11:02:05 +0100
committerThomas Gleixner <tglx@linutronix.de>2021-03-16 15:08:29 +0100
commit5c982c58752118b6c1f295024d3fda5ff22d3c52 (patch)
treea9fbc103adbd6006952d9ee256d4d3544e67e059 /kernel/irq/timings.c
parent3a0ade0c521a542f8a25e96ce8ea0dfaa532ac75 (diff)
downloadlinux-5c982c58752118b6c1f295024d3fda5ff22d3c52.tar.bz2
genirq: Fix typos and misspellings in comments
No functional change. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210316100205.23492-1-krzysztof.kozlowski@canonical.com
Diffstat (limited to 'kernel/irq/timings.c')
-rw-r--r--kernel/irq/timings.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/irq/timings.c b/kernel/irq/timings.c
index 773b6105c4ae..c31860569931 100644
--- a/kernel/irq/timings.c
+++ b/kernel/irq/timings.c
@@ -84,7 +84,7 @@ void irq_timings_disable(void)
* 2. Log interval
*
* We saw the irq timings allow to compute the interval of the
- * occurrences for a specific interrupt. We can reasonibly assume the
+ * occurrences for a specific interrupt. We can reasonably assume the
* longer is the interval, the higher is the error for the next event
* and we can consider storing those interval values into an array
* where each slot in the array correspond to an interval at the power
@@ -416,7 +416,7 @@ static u64 __irq_timings_next_event(struct irqt_stat *irqs, int irq, u64 now)
* Copy the content of the circular buffer into another buffer
* in order to linearize the buffer instead of dealing with
* wrapping indexes and shifted array which will be prone to
- * error and extremelly difficult to debug.
+ * error and extremely difficult to debug.
*/
for (i = 0; i < count; i++) {
int index = (start + i) & IRQ_TIMINGS_MASK;
@@ -514,7 +514,7 @@ static inline void irq_timings_store(int irq, struct irqt_stat *irqs, u64 ts)
* If more than the array size interrupts happened during the
* last busy/idle cycle, the index wrapped up and we have to
* begin with the next element in the array which is the last one
- * in the sequence, otherwise it is a the index 0.
+ * in the sequence, otherwise it is at the index 0.
*
* - have an indication of the interrupts activity on this CPU
* (eg. irq/sec)