]> err.no Git - linux-2.6/commit
[IA64] Fix registered interrupt check
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Mon, 30 Jul 2007 02:54:41 +0000 (11:54 +0900)
committerTony Luck <tony.luck@intel.com>
Mon, 30 Jul 2007 23:29:47 +0000 (16:29 -0700)
commitc4c376f7e16deeba8f0542eabcaca19b712e7be1
tree96a3d14bcfd6742093d5eaa2ca7d79b613978a5b
parent1b30859b8d42b3161954a81da7f96055a4617220
[IA64] Fix registered interrupt check

Fix the problem that interrupts are not initialized correctly at PCI
hotplug or driver reloading time.

By vector domain change, the iosapic_rte_info structure was changed to
be on the iosapic_intr_info[irq].rtes list even after the interrupts
are unregistered. So iosapic_intr_info[irq].rtes list must not be
checked to see if there are registered interrupts (RTEs) on the
irq. We must check iosapic_intr_info[irq].count counter instead.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/iosapic.c