From: Guanqun Lu Subject: [PATCH 2/3] add IRQF_NO_SUSPEND for 'bind_ipi_to_irqhandler' Date: Mon, 13 Jul 2009 04:07:19 +0000 (UTC) Message-ID: <1247564671-3090-2-git-send-email-guanqun.lu@intel.com> References: <1247564671-3090-1-git-send-email-guanqun.lu@intel.com> Return-path: Date: Tue, 14 Jul 2009 05:44:30 -0400 In-Reply-To: <1247564671-3090-1-git-send-email-guanqun.lu@intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Guanqun Lu List-Id: xen-devel@lists.xenproject.org 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 97f4b39..58606d5 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