Browse Source

genirq: Move irq thread flags to core

Soleley used in core code.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Thomas Gleixner 14 years ago
parent
commit
1535dfacbf
2 changed files with 14 additions and 14 deletions
  1. 0 14
      include/linux/interrupt.h
  2. 14 0
      kernel/irq/internals.h

+ 0 - 14
include/linux/interrupt.h

@@ -73,20 +73,6 @@
 
 
 #define IRQF_TIMER		(__IRQF_TIMER | IRQF_NO_SUSPEND)
 #define IRQF_TIMER		(__IRQF_TIMER | IRQF_NO_SUSPEND)
 
 
-/*
- * Bits used by threaded handlers:
- * IRQTF_RUNTHREAD - signals that the interrupt handler thread should run
- * IRQTF_DIED      - handler thread died
- * IRQTF_WARNED    - warning "IRQ_WAKE_THREAD w/o thread_fn" has been printed
- * IRQTF_AFFINITY  - irq thread is requested to adjust affinity
- */
-enum {
-	IRQTF_RUNTHREAD,
-	IRQTF_DIED,
-	IRQTF_WARNED,
-	IRQTF_AFFINITY,
-};
-
 /*
 /*
  * These values can be returned by request_any_context_irq() and
  * These values can be returned by request_any_context_irq() and
  * describe the context the interrupt will be run in.
  * describe the context the interrupt will be run in.

+ 14 - 0
kernel/irq/internals.h

@@ -11,6 +11,20 @@
 
 
 extern int noirqdebug;
 extern int noirqdebug;
 
 
+/*
+ * Bits used by threaded handlers:
+ * IRQTF_RUNTHREAD - signals that the interrupt handler thread should run
+ * IRQTF_DIED      - handler thread died
+ * IRQTF_WARNED    - warning "IRQ_WAKE_THREAD w/o thread_fn" has been printed
+ * IRQTF_AFFINITY  - irq thread is requested to adjust affinity
+ */
+enum {
+	IRQTF_RUNTHREAD,
+	IRQTF_DIED,
+	IRQTF_WARNED,
+	IRQTF_AFFINITY,
+};
+
 #define irq_data_to_desc(data)	container_of(data, struct irq_desc, irq_data)
 #define irq_data_to_desc(data)	container_of(data, struct irq_desc, irq_data)
 
 
 /* Set default functions for irq_chip structures: */
 /* Set default functions for irq_chip structures: */