Files
kernel_xiaomi_sm8250/include/linux
Eric W. Biederman ded86d8d37 msi: Kill msi_lookup_irq
The function msi_lookup_irq was horrible.  As a side effect of running
it changed dev->irq, and then the callers would need to change it
back.  In addition it does a global scan through all of the irqs,
which seems to be the sole justification of the msi_lock.

To remove the neede for msi_lookup_irq I added first_msi_irq to struct
pci_dev.  Then depending on the context I replaced msi_lookup_irq with
dev->first_msi_irq, dev->msi_enabled, or dev->msix_enabled.

msi_enabled and msix_enabled were already present in pci_dev for other
reasons.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-02-07 15:50:07 -08:00
..
2006-12-08 08:28:57 -08:00
2007-01-04 12:18:19 -05:00
2006-12-06 20:14:22 -08:00
2006-12-08 08:28:39 -08:00
2006-12-19 11:12:46 +01:00
2006-12-07 08:39:37 -08:00
2006-12-07 08:39:20 -08:00
2006-12-08 08:28:39 -08:00
2007-01-30 08:26:45 -08:00
2006-12-30 10:56:43 -08:00
2006-12-06 18:38:54 -08:00
2006-12-11 14:35:00 -08:00
2006-12-07 08:39:25 -08:00
2007-02-01 16:17:06 -08:00
2006-12-07 08:39:32 -08:00
2006-12-10 09:55:41 -08:00
2006-12-07 08:39:21 -08:00
2007-01-08 19:49:54 +00:00
2006-12-10 21:21:29 +01:00
2006-12-10 21:21:31 +01:00
2006-12-12 10:22:23 +01:00
2006-12-20 10:54:43 -08:00
2006-12-07 08:39:47 -08:00
2006-12-07 08:39:47 -08:00
2006-12-07 08:39:47 -08:00
2006-12-08 08:28:57 -08:00
2007-01-05 23:55:21 -08:00
2007-01-26 13:50:58 -08:00
2007-01-11 18:18:20 -08:00
2006-12-08 08:28:39 -08:00
2006-12-13 09:05:50 -08:00
2007-02-07 15:50:06 -08:00
2007-01-23 00:34:54 -05:00
2006-12-06 10:46:38 -05:00
2006-12-07 02:14:01 +01:00
2007-02-07 15:50:07 -08:00
2007-01-11 18:18:21 -08:00
2006-12-22 08:55:49 -08:00
2006-12-10 09:55:40 -08:00
2006-12-12 08:10:44 -08:00
2006-12-07 08:39:35 -08:00
2006-12-08 08:28:57 -08:00
2006-12-07 08:39:25 -08:00
2006-12-13 09:05:49 -08:00
2006-12-07 08:39:20 -08:00
2006-12-12 19:23:02 +01:00
2006-12-15 08:47:51 -08:00