Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/ps3: irq: Remove IRQF_DISABLED

Since commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled],
We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).

So now this flag is a NOOP and can be removed.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Acked-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Yong Zhang and committed by
Benjamin Herrenschmidt
6ea741a1 a3a9f3b4

+2 -2
+1 -1
drivers/ps3/ps3-vuart.c
··· 952 952 } 953 953 954 954 result = request_irq(vuart_bus_priv.virq, ps3_vuart_irq_handler, 955 - IRQF_DISABLED, "vuart", &vuart_bus_priv); 955 + 0, "vuart", &vuart_bus_priv); 956 956 957 957 if (result) { 958 958 pr_debug("%s:%d: request_irq failed (%d)\n",
+1 -1
drivers/ps3/ps3stor_lib.c
··· 167 167 goto fail_close_device; 168 168 } 169 169 170 - error = request_irq(dev->irq, handler, IRQF_DISABLED, 170 + error = request_irq(dev->irq, handler, 0, 171 171 dev->sbd.core.driver->name, dev); 172 172 if (error) { 173 173 dev_err(&dev->sbd.core, "%s:%u: request_irq failed %d\n",