projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a78ced
)
sparc64: Set IRQF_DISABLED on LDC channel IRQs.
author
David S. Miller
<davem@davemloft.net>
Tue, 13 Oct 2009 07:49:09 +0000
(
00:49
-0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 13 Oct 2009 07:49:09 +0000
(
00:49
-0700)
With lots of virtual devices it's easy to generate a lot of
events and chew up the kernel IRQ stack.
Reported-by: hyl <heyongli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/ldc.c
patch
|
blob
|
history
diff --git
a/arch/sparc/kernel/ldc.c
b/arch/sparc/kernel/ldc.c
index
adf5f27
..
cb3c72c
100644
(file)
--- a/
arch/sparc/kernel/ldc.c
+++ b/
arch/sparc/kernel/ldc.c
@@
-1242,13
+1242,13
@@
int ldc_bind(struct ldc_channel *lp, const char *name)
snprintf(lp->tx_irq_name, LDC_IRQ_NAME_MAX, "%s TX", name);
err = request_irq(lp->cfg.rx_irq, ldc_rx,
- IRQF_SAMPLE_RANDOM | IRQF_SHARED,
+ IRQF_SAMPLE_RANDOM | IRQF_
DISABLED | IRQF_
SHARED,
lp->rx_irq_name, lp);
if (err)
return err;
err = request_irq(lp->cfg.tx_irq, ldc_tx,
- IRQF_SAMPLE_RANDOM | IRQF_SHARED,
+ IRQF_SAMPLE_RANDOM | IRQF_
DISABLED | IRQF_
SHARED,
lp->tx_irq_name, lp);
if (err) {
free_irq(lp->cfg.rx_irq, lp);