Skip to contentSkip to conversation

genirq: Fix typo in documentation of enumeration field name

PATCH New Mika Westerberg 2 participants 4 messages Oct 1, 2015 IRQ

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 genirq: Fix typo in documentation of enumeration field name

It should say IRQ_NESTED_THREAD instead of IRQ_NESTED_TRHEAD.

---
 include/linux/irq.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/irq.h +1 -1
index 11bf09288ddb..5c9a5281610f 100644
@@ -67,7 +67,7 @@ enum irqchip_irq_state;
  *				  request/setup_irq()
  * IRQ_NO_BALANCING		- Interrupt cannot be balanced (affinity set)
  * IRQ_MOVE_PCNTXT		- Interrupt can be migrated from process context
- * IRQ_NESTED_TRHEAD		- Interrupt nests into another thread
+ * IRQ_NESTED_THREAD		- Interrupt nests into another thread
  * IRQ_PER_CPU_DEVID		- Dev_id is a per-cpu variable
  * IRQ_IS_POLLED		- Always polled by another interrupt. Exclude
  *				  it from the spurious interrupt detection
Signature · 1 line
2.5.1
#1 lore raw

PATCH 2/2 genirq: Remove unused functions irqd_[set|clr]_chained_irq_inprogress()

These two functions are not used anywhere in the kernel source tree so remove them.

---
 include/linux/irq.h | 15 ---------------
 1 file changed, 15 deletions(-)
include/linux/irq.h +0 -15
index 5c9a5281610f..6bcfe8ac7594 100644
@@ -297,21 +297,6 @@ static inline void irqd_clr_forwarded_to_vcpu(struct irq_data *d)
 	__irqd_to_state(d) &= ~IRQD_FORWARDED_TO_VCPU;
 }
 
-/*
- * Functions for chained handlers which can be enabled/disabled by the
- * standard disable_irq/enable_irq calls. Must be called with
- * irq_desc->lock held.
- */
-static inline void irqd_set_chained_irq_inprogress(struct irq_data *d)
-{
-	__irqd_to_state(d) |= IRQD_IRQ_INPROGRESS;
-}
-
-static inline void irqd_clr_chained_irq_inprogress(struct irq_data *d)
-{
-	__irqd_to_state(d) &= ~IRQD_IRQ_INPROGRESS;
-}
-
 static inline irq_hw_number_t irqd_to_hwirq(struct irq_data *d)
 {
 	return d->hwirq;
Signature · 1 line
2.5.1
#2 lore raw

[tip:irq/core] genirq: Remove unused functions irqd_[set|clr] _chained_irq_inprogress()

genirq: Remove unused functions irqd_[set|clr]_chained_irq_inprogress()
Commit-ID:  9e7e2b0a6a005941a6854cdabae19c3d9e069dbe
Gitweb:     http://git.kernel.org/tip/9e7e2b0a6a005941a6854cdabae19c3d9e069dbe
Author:     Mika Westerberg <[email protected]>
AuthorDate: Thu, 1 Oct 2015 15:54:53 +0300
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Thu, 1 Oct 2015 17:28:28 +0200

genirq: Remove unused functions irqd_[set|clr]_chained_irq_inprogress()

These two functions are not used anywhere in the kernel source tree so remove them.

---
 include/linux/irq.h | 15 ---------------
 1 file changed, 15 deletions(-)
include/linux/irq.h +0 -15
index 7038f38..ba72b60 100644
@@ -297,21 +297,6 @@ static inline void irqd_clr_forwarded_to_vcpu(struct irq_data *d)
 	__irqd_to_state(d) &= ~IRQD_FORWARDED_TO_VCPU;
 }
 
-/*
- * Functions for chained handlers which can be enabled/disabled by the
- * standard disable_irq/enable_irq calls. Must be called with
- * irq_desc->lock held.
- */
-static inline void irqd_set_chained_irq_inprogress(struct irq_data *d)
-{
-	__irqd_to_state(d) |= IRQD_IRQ_INPROGRESS;
-}
-
-static inline void irqd_clr_chained_irq_inprogress(struct irq_data *d)
-{
-	__irqd_to_state(d) &= ~IRQD_IRQ_INPROGRESS;
-}
-
 static inline irq_hw_number_t irqd_to_hwirq(struct irq_data *d)
 {
 	return d->hwirq;
#3 lore raw
In reply to Mika Westerberg
genirq: Fix typo in documentation of enumeration field name
Commit-ID:  92068d17c20b218bf1e24505a3e08495476b0ebf
Gitweb:     http://git.kernel.org/tip/92068d17c20b218bf1e24505a3e08495476b0ebf
Author:     Mika Westerberg <[email protected]>
AuthorDate: Thu, 1 Oct 2015 15:54:52 +0300
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Thu, 1 Oct 2015 17:28:28 +0200

genirq: Fix typo in documentation of enumeration field name

It should say IRQ_NESTED_THREAD instead of IRQ_NESTED_TRHEAD.

---
 include/linux/irq.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/irq.h +1 -1
index 45cc729..7038f38 100644
@@ -67,7 +67,7 @@ enum irqchip_irq_state;
  *				  request/setup_irq()
  * IRQ_NO_BALANCING		- Interrupt cannot be balanced (affinity set)
  * IRQ_MOVE_PCNTXT		- Interrupt can be migrated from process context
- * IRQ_NESTED_TRHEAD		- Interrupt nests into another thread
+ * IRQ_NESTED_THREAD		- Interrupt nests into another thread
  * IRQ_PER_CPU_DEVID		- Dev_id is a per-cpu variable
  * IRQ_IS_POLLED		- Always polled by another interrupt. Exclude
  *				  it from the spurious interrupt detection