projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a49948
)
mv643xx_eth: get rid of IRQF_SAMPLE_RANDOM
author
Lennert Buytenhek
<buytenh@wantstofly.org>
Sat, 23 Aug 2008 21:43:38 +0000
(23:43 +0200)
committer
Lennert Buytenhek
<buytenh@marvell.com>
Fri, 5 Sep 2008 04:33:57 +0000
(06:33 +0200)
Using IRQF_SAMPLE_RANDOM for the mv643xx_eth interrupt handler
significantly increases interrupt processing overhead, so get rid
of it.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
drivers/net/mv643xx_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/mv643xx_eth.c
b/drivers/net/mv643xx_eth.c
index ad2ae937443d4383ce4e86ca7b2635029548363c..8c812c3d1b7d7b53c635402d401d5ac5aa1ec4f5 100644
(file)
--- a/
drivers/net/mv643xx_eth.c
+++ b/
drivers/net/mv643xx_eth.c
@@
-2004,8
+2004,7
@@
static int mv643xx_eth_open(struct net_device *dev)
rdl(mp, INT_CAUSE_EXT(mp->port_num));
err = request_irq(dev->irq, mv643xx_eth_irq,
- IRQF_SHARED | IRQF_SAMPLE_RANDOM,
- dev->name, dev);
+ IRQF_SHARED, dev->name, dev);
if (err) {
dev_printk(KERN_ERR, &dev->dev, "can't assign irq\n");
return -EAGAIN;