Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234189
b: refs/heads/master
c: 676dc3c
h: refs/heads/master
i:
  234187: c27ace2
v: v3
  • Loading branch information
Thomas Gleixner authored and Konrad Rzeszutek Wilk committed Mar 3, 2011
1 parent 1d90b82 commit 3149f20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8aef4857d26c46ca3d4f1a7f3a7aa4b51a72385e
refs/heads/master: 676dc3cf5bc36a9e129a3ad8fe3bd7b2ebf20f5d
20 changes: 1 addition & 19 deletions trunk/drivers/xen/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ int bind_ipi_to_irqhandler(enum ipi_vector ipi,
if (irq < 0)
return irq;

irqflags |= IRQF_NO_SUSPEND;
irqflags |= IRQF_NO_SUSPEND | IRQF_FORCE_RESUME;
retval = request_irq(irq, handler, irqflags, devname, dev_id);
if (retval != 0) {
unbind_from_irq(irq);
Expand Down Expand Up @@ -1433,7 +1433,6 @@ void xen_poll_irq(int irq)
void xen_irq_resume(void)
{
unsigned int cpu, irq, evtchn;
struct irq_desc *desc;

init_evtchn_cpu_bindings();

Expand All @@ -1453,23 +1452,6 @@ void xen_irq_resume(void)
restore_cpu_ipis(cpu);
}

/*
* Unmask any IRQF_NO_SUSPEND IRQs which are enabled. These
* are not handled by the IRQ core.
*/
for_each_irq_desc(irq, desc) {
if (!desc->action || !(desc->action->flags & IRQF_NO_SUSPEND))
continue;
if (desc->status & IRQ_DISABLED)
continue;

evtchn = evtchn_from_irq(irq);
if (evtchn == -1)
continue;

unmask_evtchn(evtchn);
}

restore_cpu_pirqs();
}

Expand Down

0 comments on commit 3149f20

Please sign in to comment.