From: "Jan Beulich" Subject: [PATCH] unmodified-drivers: tolerate IRQF_DISABLED being undefined Date: Mon, 01 Jun 2015 14:50:52 +0100 Message-ID: <556C7F5C020000780007FC1E@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YzQ7F-00050K-5X for xen-devel@lists.xenproject.org; Mon, 01 Jun 2015 13:50:57 +0000 Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel List-Id: xen-devel@lists.xenproject.org It's being removed in Linux 4.1. Signed-off-by: Jan Beulich --- 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); }