From fcd8a32c16d509270ef90069b92dadc506ce49ea Mon Sep 17 00:00:00 2001 From: Guanqun Lu Date: Tue, 14 Jul 2009 05:15:12 -0400 Subject: [PATCH 2/3] add IRQF_NO_SUSPEND for 'bind_ipi_to_irqhandler' This function exports the ipi functionality to kernel, and the corresponding irq should not be disabled during host S3 suspend. Signed-off-by: Guanqun Lu --- drivers/xen/events.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/xen/events.c b/drivers/xen/events.c index abad71b..f0647bd 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c @@ -532,6 +532,7 @@ int bind_ipi_to_irqhandler(enum ipi_vector ipi, if (irq < 0) return irq; + irqflags |= IRQF_NO_SUSPEND; retval = request_irq(irq, handler, irqflags, devname, dev_id); if (retval != 0) { unbind_from_irq(irq); -- 1.6.1.rc3