diff options
author | Michael Opdenacker <michael.opdenacker@free-electrons.com> | 2013-09-08 23:09:47 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-11-06 15:31:16 -0500 |
commit | af09d1a73aed4e83ee095f2dabdc09386e31f2ea (patch) | |
tree | 46915a040662ac3c0cefe16ff2cb16c83ff47103 /drivers | |
parent | 9d71cee66725a0a1333f02f315c06cc42f07650e (diff) |
xen: remove deprecated IRQF_DISABLED
This patch proposes to remove the IRQF_DISABLED flag from drivers/xen
code. It's a NOOP since 2.6.35 and it will be removed one day.
Note that architecture dependent fixes for IRQF_DISABLED
were already submitted through separate patches.
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/xen/evtchn.c | 2 | ||||
-rw-r--r-- | drivers/xen/platform-pci.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/xen/evtchn.c b/drivers/xen/evtchn.c index 8b3a69a06c39..5de2063e16d3 100644 --- a/drivers/xen/evtchn.c +++ b/drivers/xen/evtchn.c | |||
@@ -305,7 +305,7 @@ static int evtchn_bind_to_user(struct per_user_data *u, int port) | |||
305 | if (rc < 0) | 305 | if (rc < 0) |
306 | goto err; | 306 | goto err; |
307 | 307 | ||
308 | rc = bind_evtchn_to_irqhandler(port, evtchn_interrupt, IRQF_DISABLED, | 308 | rc = bind_evtchn_to_irqhandler(port, evtchn_interrupt, 0, |
309 | u->name, evtchn); | 309 | u->name, evtchn); |
310 | if (rc < 0) | 310 | if (rc < 0) |
311 | goto err; | 311 | goto err; |
diff --git a/drivers/xen/platform-pci.c b/drivers/xen/platform-pci.c index 99db9e1eb8ba..2f3528e93cb9 100644 --- a/drivers/xen/platform-pci.c +++ b/drivers/xen/platform-pci.c | |||
@@ -84,7 +84,7 @@ static irqreturn_t do_hvm_evtchn_intr(int irq, void *dev_id) | |||
84 | static int xen_allocate_irq(struct pci_dev *pdev) | 84 | static int xen_allocate_irq(struct pci_dev *pdev) |
85 | { | 85 | { |
86 | return request_irq(pdev->irq, do_hvm_evtchn_intr, | 86 | return request_irq(pdev->irq, do_hvm_evtchn_intr, |
87 | IRQF_DISABLED | IRQF_NOBALANCING | IRQF_TRIGGER_RISING, | 87 | IRQF_NOBALANCING | IRQF_TRIGGER_RISING, |
88 | "xen-platform-pci", pdev); | 88 | "xen-platform-pci", pdev); |
89 | } | 89 | } |
90 | 90 | ||