android_kernel_xiaomi_sm8350/arch/i386/pci
Eric W. Biederman ace80ab796 [PATCH] genirq: i386 irq: Remove the msi assumption that irq == vector
This patch removes the change in behavior of the irq allocation code when
CONFIG_PCI_MSI is defined.  Removing all instances of the assumption that irq
== vector.

create_irq is rewritten to first allocate a free irq and then to assign that
irq a vector.

assign_irq_vector is made static and the AUTO_ASSIGN case which allocates an
vector not bound to an irq is removed.

The ioapic vector methods are removed, and everything now works with irqs.

The definition of NR_IRQS no longer depends on CONFIG_PCI_MSI

[akpm@osdl.org: cleanup]
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Rajesh Shah <rajesh.shah@intel.com>
Cc: Andi Kleen <ak@muc.de>
Cc: "Protasevich, Natalie" <Natalie.Protasevich@UNISYS.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-04 07:55:28 -07:00
..
acpi.c
common.c [PATCH] x86: Allow disabling early pci scans with pci=noearly or disallowing conf1 2006-09-26 10:52:41 +02:00
direct.c [PATCH] i386/x86-64: PCI: split probing and initialization of type 1 config space access 2006-09-26 10:52:40 +02:00
early.c [PATCH] x86: Allow disabling early pci scans with pci=noearly or disallowing conf1 2006-09-26 10:52:41 +02:00
fixup.c Attack of "the the"s in arch 2006-10-03 22:21:02 +02:00
i386.c
init.c [PATCH] i386/x86-64: PCI: split probing and initialization of type 1 config space access 2006-09-26 10:52:40 +02:00
irq.c [PATCH] genirq: i386 irq: Remove the msi assumption that irq == vector 2006-10-04 07:55:28 -07:00
legacy.c
Makefile [PATCH] x86: Move direct PCI scanning functions out of line 2006-09-26 10:52:41 +02:00
mmconfig.c [PATCH] arch/i386/pci/mmconfig.c tweaks 2006-10-01 00:39:18 -07:00
numa.c
pcbios.c
pci.h [PATCH] x86: Allow disabling early pci scans with pci=noearly or disallowing conf1 2006-09-26 10:52:41 +02:00
visws.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00