mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] genirq: Fix typo in documentation of enumeration field name
@ 2015-10-01 12:54 Mika Westerberg
  2015-10-01 12:54 ` [PATCH 2/2] genirq: Remove unused functions irqd_[set|clr]_chained_irq_inprogress() Mika Westerberg
  2015-10-01 15:30 ` [tip:irq/core] genirq: Fix typo in documentation of enumeration field name tip-bot for Mika Westerberg
  0 siblings, 2 replies; 4+ messages in thread
From: Mika Westerberg @ 2015-10-01 12:54 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: Jiang Liu, Mika Westerberg, linux-kernel

It should say IRQ_NESTED_THREAD instead of IRQ_NESTED_TRHEAD.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 include/linux/irq.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/irq.h b/include/linux/irq.h
index 11bf09288ddb..5c9a5281610f 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -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
-- 
2.5.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] genirq: Remove unused functions irqd_[set|clr]_chained_irq_inprogress()
  2015-10-01 12:54 [PATCH 1/2] genirq: Fix typo in documentation of enumeration field name Mika Westerberg
@ 2015-10-01 12:54 ` Mika Westerberg
  2015-10-01 15:30   ` [tip:irq/core] genirq: Remove unused functions irqd_[set|clr] _chained_irq_inprogress() tip-bot for Mika Westerberg
  2015-10-01 15:30 ` [tip:irq/core] genirq: Fix typo in documentation of enumeration field name tip-bot for Mika Westerberg
  1 sibling, 1 reply; 4+ messages in thread
From: Mika Westerberg @ 2015-10-01 12:54 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: Jiang Liu, Mika Westerberg, linux-kernel

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

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 include/linux/irq.h | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/include/linux/irq.h b/include/linux/irq.h
index 5c9a5281610f..6bcfe8ac7594 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -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;
-- 
2.5.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [tip:irq/core] genirq: Fix typo in documentation of enumeration field name
  2015-10-01 12:54 [PATCH 1/2] genirq: Fix typo in documentation of enumeration field name Mika Westerberg
  2015-10-01 12:54 ` [PATCH 2/2] genirq: Remove unused functions irqd_[set|clr]_chained_irq_inprogress() Mika Westerberg
@ 2015-10-01 15:30 ` tip-bot for Mika Westerberg
  1 sibling, 0 replies; 4+ messages in thread
From: tip-bot for Mika Westerberg @ 2015-10-01 15:30 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: mingo, jiang.liu, tglx, hpa, linux-kernel, mika.westerberg

Commit-ID:  92068d17c20b218bf1e24505a3e08495476b0ebf
Gitweb:     http://git.kernel.org/tip/92068d17c20b218bf1e24505a3e08495476b0ebf
Author:     Mika Westerberg <mika.westerberg@linux.intel.com>
AuthorDate: Thu, 1 Oct 2015 15:54:52 +0300
Committer:  Thomas Gleixner <tglx@linutronix.de>
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.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Link: http://lkml.kernel.org/r/1443704093-36837-1-git-send-email-mika.westerberg@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 include/linux/irq.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/irq.h b/include/linux/irq.h
index 45cc729..7038f38 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [tip:irq/core] genirq: Remove unused functions irqd_[set|clr] _chained_irq_inprogress()
  2015-10-01 12:54 ` [PATCH 2/2] genirq: Remove unused functions irqd_[set|clr]_chained_irq_inprogress() Mika Westerberg
@ 2015-10-01 15:30   ` tip-bot for Mika Westerberg
  0 siblings, 0 replies; 4+ messages in thread
From: tip-bot for Mika Westerberg @ 2015-10-01 15:30 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: tglx, linux-kernel, mingo, jiang.liu, hpa, mika.westerberg

Commit-ID:  9e7e2b0a6a005941a6854cdabae19c3d9e069dbe
Gitweb:     http://git.kernel.org/tip/9e7e2b0a6a005941a6854cdabae19c3d9e069dbe
Author:     Mika Westerberg <mika.westerberg@linux.intel.com>
AuthorDate: Thu, 1 Oct 2015 15:54:53 +0300
Committer:  Thomas Gleixner <tglx@linutronix.de>
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.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Link: http://lkml.kernel.org/r/1443704093-36837-2-git-send-email-mika.westerberg@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 include/linux/irq.h | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/include/linux/irq.h b/include/linux/irq.h
index 7038f38..ba72b60 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -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;

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-01 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-01 12:54 [PATCH 1/2] genirq: Fix typo in documentation of enumeration field name Mika Westerberg
2015-10-01 12:54 ` [PATCH 2/2] genirq: Remove unused functions irqd_[set|clr]_chained_irq_inprogress() Mika Westerberg
2015-10-01 15:30   ` [tip:irq/core] genirq: Remove unused functions irqd_[set|clr] _chained_irq_inprogress() tip-bot for Mika Westerberg
2015-10-01 15:30 ` [tip:irq/core] genirq: Fix typo in documentation of enumeration field name tip-bot for Mika Westerberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome