irq: remove >= nr_irqs checking with config_have_sparse_irq
authorYinghai Lu <yhlu.kernel@gmail.com>
Wed, 20 Aug 2008 03:50:14 +0000 (20:50 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:52:50 +0000 (16:52 +0200)
commit7d94f7ca401dd7f445fda9a971a48aa5427b3e55
tree8f4d4b73966fd0aa54df2da5bbcf67ea0a7ff43a
parent46b8214d12c274bd4265aae482ab7ffe69d94818
irq: remove >= nr_irqs checking with config_have_sparse_irq

remove irq limit checks - nr_irqs is dynamic and we expand anytime.

v2: fix checking about result irq_cfg_without_new, so could use msi again
v3: use irq_desc_without_new to check irq is valid

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic_64.c
arch/x86/kernel/irq_64.c
kernel/irq/chip.c
kernel/irq/manage.c