[PATCH] PCI: per-platform IA64_{FIRST,LAST}_DEVICE_VECTOR definitions
authorMark Maule <maule@sgi.com>
Fri, 14 Apr 2006 21:03:49 +0000 (16:03 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 18:59:59 +0000 (11:59 -0700)
commit10083072bfabc40bc47306e512c158c57cf55c2e
tree2c7c3f08ae779594026e67a7a36915c2f97d73b9
parentfd58e55fcf5568e51da2ed54d7acd049c3fdb184
[PATCH] PCI: per-platform IA64_{FIRST,LAST}_DEVICE_VECTOR definitions

Abstract IA64_FIRST_DEVICE_VECTOR/IA64_LAST_DEVICE_VECTOR since SN platforms
use a subset of the IA64 range.  Implement this by making the above macros
global variables which the platform can override in it setup code.

Also add a reserve_irq_vector() routine used by SN to mark a vector's as
in-use when that weren't allocated through assign_irq_vector().

Signed-off-by: Mark Maule <maule@sgi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/ia64/kernel/irq_ia64.c
arch/ia64/sn/kernel/irq.c
drivers/pci/msi.c
include/asm-ia64/hw_irq.h