diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-05-19 15:41:30 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-05-19 15:41:30 +0200 |
commit | a6c761e44cfdeffc31785c698aa04d310e7cd686 (patch) | |
tree | f97b73d8f6cc57a3e900d2d868fe6d071fd72e48 /kernel/irq/chip.c | |
parent | Merge branch 'irq/for-arm' into irq/core (diff) | |
parent | genirq: Introduce irq_set_vcpu_affinity() to target an interrupt to a VCPU (diff) | |
download | linux-a6c761e44cfdeffc31785c698aa04d310e7cd686.tar.xz linux-a6c761e44cfdeffc31785c698aa04d310e7cd686.zip |
Merge branch 'irq/for-x86' into irq/core
Pull in the branch which can be consumed by x86 to build their changes
on top.
Diffstat (limited to 'kernel/irq/chip.c')
-rw-r--r-- | kernel/irq/chip.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 2456fe89719c..330fc797e632 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -978,6 +978,20 @@ int irq_chip_retrigger_hierarchy(struct irq_data *data) } /** + * irq_chip_set_vcpu_affinity_parent - Set vcpu affinity on the parent interrupt + * @data: Pointer to interrupt specific data + * @dest: The vcpu affinity information + */ +int irq_chip_set_vcpu_affinity_parent(struct irq_data *data, void *vcpu_info) +{ + data = data->parent_data; + if (data->chip->irq_set_vcpu_affinity) + return data->chip->irq_set_vcpu_affinity(data, vcpu_info); + + return -ENOSYS; +} + +/** * irq_chip_set_wake_parent - Set/reset wake-up on the parent interrupt * @data: Pointer to interrupt specific data * @on: Whether to set or reset the wake-up capability of this irq |