]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
ARM: 6524/1: GIC irq desciptor bug fix
authorChao Xie <xiechao.linux@gmail.com>
Mon, 6 Dec 2010 06:01:10 +0000 (07:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 6 Dec 2010 11:03:31 +0000 (11:03 +0000)
commit87507500b7fc3620e467abb617a3452f0cccc72d
tree6e59fe7fa70cdba79f300a62fc26acb48234bc32
parenta5542a0f9aca5588a0afd0489c26d858405bfecb
ARM: 6524/1: GIC irq desciptor bug fix

gic_set_cpu will directly use irq_desc[]. If CONFIG_SPARSE_IRQ is
enabled, there is no irq_desc[]. So we need use irq_to_desc(irq) to
get the descriptor for irq.

Signed-off-by: Chao Xie <chao.xie@marvell.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/gic.c