From: Lennert Buytenhek Date: Sat, 23 Aug 2008 21:43:38 +0000 (+0200) Subject: mv643xx_eth: get rid of IRQF_SAMPLE_RANDOM X-Git-Tag: v2.6.28-rc1~717^2~194^2~25 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2a1867a76fc13499521af1f0dbcf08ddb3ef78ba;p=linux-2.6-omap-h63xx.git mv643xx_eth: get rid of IRQF_SAMPLE_RANDOM 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 --- diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index ad2ae937443..8c812c3d1b7 100644 --- 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;