sparseirq: Change irq_desc_ptrs to static
authorYinghai Lu <yinghai@kernel.org>
Wed, 10 Feb 2010 09:20:34 +0000 (01:20 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 18 Feb 2010 01:27:03 +0000 (17:27 -0800)
commit99558f0bbe68cb09799ec38adbaa3f3b2dc7ba63
tree03a0393cae76ac3d0249fc53128974433d94e802
parent773e3eb7b81e5ba13b5155dfb3bb75b8ce37f8f9
sparseirq: Change irq_desc_ptrs to static

Add replace_irq_desc() instead of poking at the array directly.

-v2: remove unneeded boundary check in replace_irq_desc

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <1265793639-15071-31-git-send-email-yinghai@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
kernel/irq/handle.c
kernel/irq/internals.h
kernel/irq/numa_migrate.c