Skip to contentSkip to conversation

hrtimer: Remove the comment about not used HRTIMER_SOFTIRQ

PATCH Applied Sebastian Andrzej Siewior 2 participants 2 messages Nov 7, 2019 – Nov 12, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hrtimer: Remove the comment about not used HRTIMER_SOFTIRQ

The softirq `HRTIMER_SOFTIRQ' was not used since commit
c6eb3f70d448 ("hrtimer: Get rid of hrtimer softirq")

but then we started using it again, beginning with commit
5da70160462e ("hrtimer: Implement support for softirq based hrtimers")

so the comment is not longer accurate.

Remove the comment saying that HRTIMER_SOFTIRQ not used.

---
 include/linux/interrupt.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/interrupt.h +1 -2
index 89fc59dab57d2..963c3c695784f 100644
@@ -520,8 +520,7 @@ enum
 	IRQ_POLL_SOFTIRQ,
 	TASKLET_SOFTIRQ,
 	SCHED_SOFTIRQ,
-	HRTIMER_SOFTIRQ, /* Unused, but kept as tools rely on the
-			    numbering. Sigh! */
+	HRTIMER_SOFTIRQ,
 	RCU_SOFTIRQ,    /* Preferable RCU should always be the last softirq */
 
 	NR_SOFTIRQS
Signature · 1 line
2.24.0
#1 lore raw
The following commit has been merged into the timers/core branch of tip:

The following commit has been merged into the timers/core branch of tip:

Commit-ID:     3bbc53f4ae1686b501d92d4a5fd400f4958c8a98
Gitweb:        https://git.kernel.org/tip/3bbc53f4ae1686b501d92d4a5fd400f4958c8a98
Author:        Sebastian Andrzej Siewior <[email protected]>
AuthorDate:    Thu, 07 Nov 2019 10:19:24 +01:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Tue, 12 Nov 2019 16:15:57 +01:00

hrtimer: Remove the comment about not used HRTIMER_SOFTIRQ

The softirq `HRTIMER_SOFTIRQ' was not used since commit c6eb3f70d448 ("hrtimer: Get rid of hrtimer softirq").

But it got used again, beginning with commit 5da70160462e ("hrtimer:
Implement support for softirq based hrtimers"), which did not remove the comment. Remove it now.

---
 include/linux/interrupt.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/interrupt.h +1 -2
index 89fc59d..963c3c6 100644
@@ -520,8 +520,7 @@ enum
 	IRQ_POLL_SOFTIRQ,
 	TASKLET_SOFTIRQ,
 	SCHED_SOFTIRQ,
-	HRTIMER_SOFTIRQ, /* Unused, but kept as tools rely on the
-			    numbering. Sigh! */
+	HRTIMER_SOFTIRQ,
 	RCU_SOFTIRQ,    /* Preferable RCU should always be the last softirq */
 
 	NR_SOFTIRQS