android_kernel_xiaomi_sm8350/arch
Eric W. Biederman 04b9267b15 [PATCH] genirq: x86_64 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

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
..
alpha fix file specification in comments 2006-10-03 23:01:26 +02:00
arm fix file specification in comments 2006-10-03 23:01:26 +02:00
arm26 [PATCH] rename the provided execve functions to kernel_execve 2006-10-02 07:57:23 -07:00
avr32 [PATCH] AVR32: Implement kernel_execve 2006-10-02 07:57:24 -07:00
cris more misc typo fixes 2006-10-03 22:34:14 +02:00
frv Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-serial 2006-10-03 09:13:29 -07:00
h8300 fix file specification in comments 2006-10-03 23:01:26 +02:00
i386 [PATCH] genirq: i386 irq: Move msi message composition into io_apic.c 2006-10-04 07:55:28 -07:00
ia64 [PATCH] genirq: ia64 irq: Dynamic irq support 2006-10-04 07:55:27 -07:00
m32r [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
m68k fix file specification in comments 2006-10-03 23:01:26 +02:00
m68knommu fix file specification in comments 2006-10-03 23:01:26 +02:00
mips Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2006-10-03 16:35:11 -07:00
parisc Attack of "the the"s in arch 2006-10-03 22:21:02 +02:00
powerpc fix file specification in comments 2006-10-03 23:01:26 +02:00
ppc fix file specification in comments 2006-10-03 23:01:26 +02:00
s390 [PATCH] VFS: Make filldir_t and struct kstat deal in 64-bit inode numbers 2006-10-03 08:03:40 -07:00
sh fix file specification in comments 2006-10-03 23:01:26 +02:00
sh64 fix file specification in comments 2006-10-03 23:01:26 +02:00
sparc fix file specification in comments 2006-10-03 23:01:26 +02:00
sparc64 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 2006-10-03 08:53:26 -07:00
um more misc typo fixes 2006-10-03 22:34:14 +02:00
v850 Attack of "the the"s in arch 2006-10-03 22:21:02 +02:00
x86_64 [PATCH] genirq: x86_64 irq: Remove the msi assumption that irq == vector 2006-10-04 07:55:28 -07:00
xtensa fix file specification in comments 2006-10-03 23:01:26 +02:00