|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [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 <guanqun.lu@xxxxxxxxx>
---
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|