Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull irq fixes from Ingo Molnar: "Affinity fixes and a nested threaded IRQ handling fix." * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: genirq: Always force thread affinity irq: Set CPU affinity right on thread creation genirq: Provide means to retrigger parent
This commit is contained in:
commit
aefb058b0c
5 changed files with 60 additions and 2 deletions
|
|
@ -392,6 +392,15 @@ static inline void irq_move_masked_irq(struct irq_data *data) { }
|
|||
|
||||
extern int no_irq_affinity;
|
||||
|
||||
#ifdef CONFIG_HARDIRQS_SW_RESEND
|
||||
int irq_set_parent(int irq, int parent_irq);
|
||||
#else
|
||||
static inline int irq_set_parent(int irq, int parent_irq)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Built-in IRQ handlers for various IRQ types,
|
||||
* callable via desc->handle_irq()
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
struct irq_affinity_notify;
|
||||
struct proc_dir_entry;
|
||||
struct module;
|
||||
struct irq_desc;
|
||||
|
||||
/**
|
||||
* struct irq_desc - interrupt descriptor
|
||||
* @irq_data: per irq and chip data passed down to chip functions
|
||||
|
|
@ -65,6 +67,7 @@ struct irq_desc {
|
|||
#ifdef CONFIG_PROC_FS
|
||||
struct proc_dir_entry *dir;
|
||||
#endif
|
||||
int parent_irq;
|
||||
struct module *owner;
|
||||
const char *name;
|
||||
} ____cacheline_internodealigned_in_smp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue