Skip to content

Commit

Permalink
genirq: Move irq thread flags to core
Browse files Browse the repository at this point in the history
Soleley used in core code.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed Feb 19, 2011
1 parent fe200ae commit 1535dfa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 0 additions & 14 deletions include/linux/interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,6 @@

#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
* describe the context the interrupt will be run in.
Expand Down
14 changes: 14 additions & 0 deletions kernel/irq/internals.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@

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)

/* Set default functions for irq_chip structures: */
Expand Down

0 comments on commit 1535dfa

Please sign in to comment.