All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] unmodified-drivers: tolerate IRQF_DISABLED being undefined
@ 2015-06-01 13:50 Jan Beulich
  2015-06-01 13:56 ` Ian Campbell
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Beulich @ 2015-06-01 13:50 UTC (permalink / raw)
  To: xen-devel

It's being removed in Linux 4.1.

Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c
+++ b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c
@@ -350,11 +350,13 @@ int xen_irq_init(struct pci_dev *pdev)
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
 			   SA_SHIRQ | SA_SAMPLE_RANDOM | SA_INTERRUPT,
 #else
-			   IRQF_SHARED |
 #ifdef IRQF_SAMPLE_RANDOM
 			   IRQF_SAMPLE_RANDOM |
 #endif
-			   IRQF_DISABLED,
+#ifdef IRQF_DISABLED
+			   IRQF_DISABLED |
+#endif
+			   IRQF_SHARED,
 #endif
 			   "xen-platform-pci", pdev);
 }

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-21  7:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-01 13:50 [PATCH] unmodified-drivers: tolerate IRQF_DISABLED being undefined Jan Beulich
2015-06-01 13:56 ` Ian Campbell
2015-06-01 14:18   ` Jan Beulich
2015-07-21  6:52     ` Olaf Hering
2015-07-21  7:02       ` Jan Beulich
2015-07-21  7:07         ` Olaf Hering

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.