Commit 5d6076bb2e642bbcb1263c6cf239b9a1f3d0df08

Authored by Paul Gortmaker
Committed by David S. Miller
1 parent 45b0cb8abd

3c52x: remove IRQF_SAMPLE_RANDOM from legacy MCA drivers.

If you are genuinely using one of these legacy MCA drivers
then you are tragically on hardware where you really don't
have the extra CPU cycles to be wasting on this.

In addition, it makes two less cases for people to inadvertently
blindly copy flags from without explicitly thinking whether it
makes sense -- see the addition to feature-removal.txt as per
commit 9d9b8fb0e5ebf4b0398e579f6061d4451fea3242.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -287,7 +287,7 @@
287 287  
288 288 elmc_id_attn586(); /* disable interrupts */
289 289  
290   - ret = request_irq(dev->irq, elmc_interrupt, IRQF_SHARED | IRQF_SAMPLE_RANDOM,
  290 + ret = request_irq(dev->irq, elmc_interrupt, IRQF_SHARED,
291 291 dev->name, dev);
292 292 if (ret) {
293 293 pr_err("%s: couldn't get irq %d\n", dev->name, dev->irq);
... ... @@ -443,7 +443,7 @@
443 443 * Grab the IRQ
444 444 */
445 445  
446   - err = request_irq(dev->irq, mc32_interrupt, IRQF_SHARED | IRQF_SAMPLE_RANDOM, DRV_NAME, dev);
  446 + err = request_irq(dev->irq, mc32_interrupt, IRQF_SHARED, DRV_NAME, dev);
447 447 if (err) {
448 448 release_region(dev->base_addr, MC32_IO_EXTENT);
449 449 pr_err("%s: unable to get IRQ %d.\n", DRV_NAME, dev->irq);